Skip to content

Commit 3c73232

Browse files
committed
fix: minor bugs remaining, derivatives check on circle
1 parent 3fb80ae commit 3c73232

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ jobs:
414414
name: Checking outputs of full fMRIPrep run
415415
command: |
416416
mkdir -p /tmp/ds005/test
417-
find /tmp/ds005/derivatives -path */figures -prune -o -name "*" -print | sed s+/tmp/ds005/derivatives/++ | sort > /tmp/ds005/test/outputs.out
417+
find /tmp/ds005/derivatives \( -path */figures -o -path */log \) -prune -o -name "*" -print | sed s+/tmp/ds005/derivatives/++ | sort > /tmp/ds005/test/outputs.out
418418
diff /tmp/src/fmriprep/.circleci/ds005_outputs.txt /tmp/ds005/test/outputs.out
419419
exit $?
420420
- run:
@@ -437,7 +437,7 @@ jobs:
437437
command: |
438438
mkdir -p /tmp/ds005/test
439439
sudo rm -rf /tmp/ds005/derivatives_partial/freesurfer
440-
find /tmp/ds005/derivatives_partial -path */figures -prune -o -name "*" -print | sed s+/tmp/ds005/derivatives_partial/++ | sort > /tmp/ds005/test/outputs.out
440+
find /tmp/ds005/derivatives_partial \( -path */figures -o -path */log \) -prune -o -name "*" -print | sed s+/tmp/ds005/derivatives_partial/++ | sort > /tmp/ds005/test/outputs.out
441441
diff /tmp/src/fmriprep/.circleci/ds005_partial_outputs.txt /tmp/ds005/test/outputs.out
442442
exit $?
443443
- run:
@@ -562,7 +562,7 @@ jobs:
562562
name: Checking outputs of fMRIPrep
563563
command: |
564564
mkdir -p /tmp/ds054/test
565-
find /tmp/ds054/derivatives -path */figures -prune -o -name "*" -print | sed s+/tmp/ds054/derivatives/++ | sort > /tmp/ds054/test/outputs.out
565+
find /tmp/ds054/derivatives \( -path */figures -o -path */log \) -prune -o -name "*" -print | sed s+/tmp/ds054/derivatives/++ | sort > /tmp/ds054/test/outputs.out
566566
diff /tmp/src/fmriprep/.circleci/ds054_outputs.txt /tmp/ds054/test/outputs.out
567567
exit $?
568568
- run:
@@ -700,7 +700,7 @@ jobs:
700700
name: Checking outputs of fMRIPrep
701701
command: |
702702
mkdir -p /tmp/ds210/test
703-
find /tmp/ds210/derivatives -path */figures -prune -o -name "*" -print | sed s+/tmp/ds210/derivatives/++ | sort > /tmp/ds210/test/outputs.out
703+
find /tmp/ds210/derivatives \( -path */figures -o -path */log \) -prune -o -name "*" -print | sed s+/tmp/ds210/derivatives/++ | sort > /tmp/ds210/test/outputs.out
704704
diff /tmp/src/fmriprep/.circleci/ds210_outputs.txt /tmp/ds210/test/outputs.out
705705
exit $?
706706
- run:

fmriprep/config.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,7 @@ def init_spaces(checkpoint=True):
547547

548548
internal = workflow.internal_spaces
549549
if internal is not None and internal.strip():
550-
spaces += [ref for s in internal.split(' ')
551-
for ref in Reference.from_string(s)]
550+
for ref in internal.split(' '):
551+
spaces.add(ref)
552+
552553
workflow.spaces = spaces

fmriprep/workflows/bold/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def init_func_preproc_wf(bold_file):
226226

227227
# By default, force-bbr for t2s_coreg unless user specifies otherwise
228228
if config.workflow.t2s_coreg and config.workflow.use_bbr is None:
229-
config.workflow.use_bbr.use_bbr = True
229+
config.workflow.use_bbr = True
230230

231231
# Build workflow
232232
workflow = Workflow(name=wf_name)

0 commit comments

Comments
 (0)