Skip to content

Commit

Permalink
Fix variable names.
Browse files Browse the repository at this point in the history
  • Loading branch information
FredLoney committed Apr 22, 2015
1 parent 8615d26 commit 7d16032
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qipipe/pipeline/qipipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,7 @@ def _run_with_xnat_input(*inputs, **opts):
if not scan:
raise ArgumentError("The XNAT path is missing a scan: %s" % path)
# The XNAT scan object must exist.
scan_obj = xnat.find(project=project, subject=subject, session=session,
scan=scan)
scan_obj = xnat.find(project=prj, subject=sbj, session=sess,scan=scan)
if not scan_obj or not scan_obj.exists():
raise ArgumentError("The XNAT scan object does not exist: %s" % path)

Expand Down

0 comments on commit 7d16032

Please sign in to comment.