Skip to content

Commit

Permalink
Only multi-volume scans can have post-staging downstream actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
FredLoney committed Apr 30, 2015
1 parent 0c776d3 commit a381ea9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qipipe/pipeline/qipipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ def _run_with_dicom_input(actions, *inputs, **opts):
# The workflow options are augmented from the base options.
wf_opts = dict(opts)
# Only multi-volume scans can have post-staging downstream actions.
if len(scan_input.iterators.dicom) == 1
if len(scan_input.iterators.dicom) == 1:
wf_actions = ['stage']
else
else:
wf_actions = actions
# Create a new workflow for the current scan type.
wf_gen = QIPipelineWorkflow(wf_actions, **wf_opts)
Expand Down

0 comments on commit a381ea9

Please sign in to comment.