Skip to content

Commit

Permalink
The scan resource is NIFTI
Browse files Browse the repository at this point in the history
  • Loading branch information
FredLoney committed Jun 14, 2017
1 parent d38e12c commit 672252f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qipipe/pipeline/modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,8 @@ def create_profile(technique, time_series, configuration, sections, dest):
if not match:
raise ModelingError("The input time series file base name does not"
" include the _ts qualifier: %s" % base_name)
resource = match.group(1)
base_prefix = match.group(1)
resource = 'NIFTI' if base_prefix == 'scan' else base_prefix
source = dict(resource=resource, file=base_name)
optimization=dict(technique=technique)

Expand Down

0 comments on commit 672252f

Please sign in to comment.