Skip to content

Commit

Permalink
fix: do not mention phase1/2 in base workflow (done in #30)
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Nov 23, 2019
1 parent 4f3cfba commit ebcf7fa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sdcflows/workflows/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
'epi': 0,
'fieldmap': 1,
'phasediff': 2,
'phase1': 3,
'syn': 4
'syn': 3,
}

DEFAULT_MEMORY_MIN_GB = 0.01
Expand Down Expand Up @@ -145,7 +144,7 @@ def init_sdc_wf(distorted_ref, omp_nthreads=1, debug=False, ignore=None):

fmaps = defaultdict(list, [])
for associated in distorted_ref.get_associations(kind='InformedBy'):
if associated.suffix in ('epi', 'phasediff', 'fieldmap', 'phase1', 'phase2'):
if associated.suffix in list(FMAP_PRIORITY.keys()):
fmaps[associated.suffix].append(associated)

workflow = Workflow(name='sdc_wf' if distorted_ref else 'sdc_bypass_wf')
Expand Down

0 comments on commit ebcf7fa

Please sign in to comment.