Skip to content

Commit

Permalink
Don't remove the project option, since it used in the workflow constr…
Browse files Browse the repository at this point in the history
…uctor.
  • Loading branch information
FredLoney committed Jan 31, 2015
1 parent 66fa575 commit ec1cd70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qipipe/pipeline/qipipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def _run_with_xnat_input(*inputs, **opts):
:param opts: the ``project`` and :class:`QIPipelineWorkflow`
initializer options
"""
prj = opts.pop('project', qipipe.project())
prj = opts.get('project', qipipe.project())
with qixnat.connect() as xnat:
for label in inputs:
# Convert a path to a label.
Expand Down

0 comments on commit ec1cd70

Please sign in to comment.