Skip to content

Commit

Permalink
DEBUG: Mark outputDirectory usage in code
Browse files Browse the repository at this point in the history
  • Loading branch information
remram44 committed Jul 14, 2015
1 parent 7538a49 commit bbad6c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions vistrails/gui/vistrail_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -1281,7 +1281,7 @@ def moduleExecuted(objId):
name = os.path.splitext(self.name)[0] + \
("_%s_%s_%s" % pipelinePositions[pi])
extra_info['nameDumpCells'] = name
if 'pathDumpCells' in extra_info:
if 'pathDumpCells' in extra_info: # used
images[pipelinePositions[pi]] = \
os.path.join(extra_info['pathDumpCells'], name)
pe_cell_id = (pe_log_id,) + pipelinePositions[pi]
Expand Down Expand Up @@ -1311,7 +1311,7 @@ def moduleExecuted(objId):

if showProgress:
progress.setValue(totalProgress)
if 'pathDumpCells' in extra_info:
if 'pathDumpCells' in extra_info: # used
filename = os.path.join(extra_info['pathDumpCells'],
os.path.splitext(self.name)[0])
assembleThumbnails(images, filename)
Expand Down
2 changes: 1 addition & 1 deletion vistrails/packages/spreadsheet/spreadsheet_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ def displayCellEvent(self, e):
if cell and e.vistrail.has_key('extra_info'):
dump_as_pdf = False
extra_info = e.vistrail['extra_info']
if extra_info.has_key('pathDumpCells'):
if extra_info.has_key('pathDumpCells'): # used
dumppath = extra_info['pathDumpCells']
if extra_info.has_key('nameDumpCells'):
name = extra_info['nameDumpCells']
Expand Down

0 comments on commit bbad6c3

Please sign in to comment.