Skip to content

Commit

Permalink
Change sub to replace.
Browse files Browse the repository at this point in the history
  • Loading branch information
FredLoney committed Jan 31, 2015
1 parent ec1cd70 commit b0378f7
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 @@ -135,7 +135,7 @@ def _run_with_xnat_input(*inputs, **opts):
for label in inputs:
# Convert a path to a label.
if '/' in label:
label = label.sub('/', '_')
label = label.replace('/', '_')
sbj, sess = qixnat.parse_session_label(label)
# Check for an existing mask.
mask_obj = xnat.find(project=prj, subject=sbj, session=sess,
Expand Down

0 comments on commit b0378f7

Please sign in to comment.