Adding task name to tool setup
Why is this here?
@@ -110,11 +110,11 @@ def setup(chip, flowname='showflow'):
# copy in step/index variables
for index in chip.getkeys('flowgraph', flowname, stepname):
- chip.set('tool', show_tool, 'var', stepname, index, 'show_filetype', filetype)
- chip.set('tool', show_tool, 'var', stepname, index, 'show_filepath', filepath)
- chip.set('tool', show_tool, 'var', stepname, index, 'show_step', step)
- chip.set('tool', show_tool, 'var', stepname, index, 'show_index', index)
- chip.set('tool', show_tool, 'var', stepname, index, 'show_job', job)
+ chip.set('tool', show_tool, 'task', stepname , 'var', stepname, index, 'show_filetype', filetype)
+ chip.set('tool', show_tool, 'task', stepname , 'var', stepname, index, 'show_filepath', filepath)
+ chip.set('tool', show_tool, 'task', stepname , 'var', stepname, index, 'show_step', step)
+ chip.set('tool', show_tool, 'task', stepname , 'var', stepname, index, 'show_index', index)
+ chip.set('tool', show_tool, 'task', stepname , 'var', stepname, index, 'show_job', job)
##################################################
if __name__ == "__main__":
