Skip to content

Commit

Permalink
Fix qixnat import.
Browse files Browse the repository at this point in the history
  • Loading branch information
FredLoney committed Jan 31, 2015
1 parent b0378f7 commit de54b76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qipipe/pipeline/qipipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import registration
from ..interfaces import (XNATDownload, XNATUpload)
import qixnat
from qixnat.helpers import parse_session_label
from qiutil.logging import logger
from ..staging.staging_helper import iter_stage
from ..staging.map_ctp import map_ctp
Expand Down Expand Up @@ -136,7 +137,7 @@ def _run_with_xnat_input(*inputs, **opts):
# Convert a path to a label.
if '/' in label:
label = label.replace('/', '_')
sbj, sess = qixnat.parse_session_label(label)
sbj, sess = parse_session_label(label)
# Check for an existing mask.
mask_obj = xnat.find(project=prj, subject=sbj, session=sess,
resource=MASK_RSC)
Expand Down

0 comments on commit de54b76

Please sign in to comment.