Skip to content

Commit

Permalink
Skip scans with no remaining filtered actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
FredLoney committed May 17, 2017
1 parent 14103ef commit d14a4c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qipipe/pipeline/qipipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ def _run_with_dicom_input(actions, *inputs, **opts):
iter_opts = opts
for scan_input in iter_stage(project, collection, *inputs, **iter_opts):
wf_actions = _filter_actions(scan_input, actions)
if not wf_actions:
continue
# Capture the subject.
subjects.add(scan_input.subject)
# Create a new workflow.
Expand Down

0 comments on commit d14a4c4

Please sign in to comment.