Skip to content

Commit

Permalink
Clean up log messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
FredLoney committed Jun 6, 2017
1 parent 4745267 commit 643f891
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions qipipe/pipeline/staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ def run(self, collection, subject, session, scan, vol_dcm_dict, dest):
results = output_res.inputs.get()['out_files']

self.logger.debug(
"Executed the %s workflow on the %s %s scan %d"
" with 3D volume results:\n%s" %
(self.workflow.name, subject, session, scan results)
"Executed the %s workflow on the %s %s scan %d with 3D volume"
" results:\n%s" %
(self.workflow.name, subject, session, scan, results)
)

# Return the staged 3D volume files.
Expand Down Expand Up @@ -372,9 +372,8 @@ def run(self, collection, subject, session, scan, volume, dest, *in_files):
result = output_res.inputs.get()['out_file']

self.logger.debug(
"Executed the %s workflow on the %s %s scan %d"
" with 3D volume result %s" %
(self.workflow.name, subject, session, scan results)
"Executed the %s workflow on the %s %s scan %d with 3D volume"
" result %s" % (self.workflow.name, subject, session, scan, result)
)

# Return the staged 3D volume files.
Expand Down

0 comments on commit 643f891

Please sign in to comment.