File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ jobs:
241
241
command : |
242
242
mkdir -p /tmp/fslicense
243
243
cd /tmp/fslicense
244
- echo "cHJpbnRmICJrcnp5c3p0b2YuZ29yZ29sZXdza2lAZ21haWwuY29tXG41MTcyXG4gKkN2dW12RVYzelRmZ1xuRlM1Si8yYzFhZ2c0RVxuIiA+IGxpY2Vuc2UudHh0Cg==" | base64 -d | sh
244
+ echo "cHJpbnRmICJrcnp5c3p0b2YuZ29yZ29sZXdza2lAZ21haWwuY29tXG41MTcyXG4gKkN2dW12RVYzelRmZ1xuRlM1Si8yYzFhZ2c0RVxuIiA+IGxpY2Vuc2UudHh0Cg==" | base64 -d | sh
245
245
- persist_to_workspace :
246
246
root : /tmp
247
247
paths :
@@ -540,6 +540,24 @@ jobs:
540
540
- store_artifacts :
541
541
path : /tmp/ds005/derivatives
542
542
destination : fasttrack
543
+ - run :
544
+ name : Check fs-reuse-base using existing freesufer output
545
+ no_output_timeout : 5m
546
+ command : |
547
+ bash /tmp/src/smriprep/.circleci/ds005_run.sh --fs-reuse-base
548
+ - run :
549
+ name : Clean working directory
550
+ when : on_fail
551
+ command : |
552
+ rm -rf /tmp/ds005/work/smriprep_wf/fsdir_run_*/
553
+ find /tmp/ds005/work \( -name "*.nii.gz" -or -name "*.nii" -or -name "*.gii" -or -name "*.h5" \) \
554
+ -exec sh -c 'rm -f {}; touch {}' \;
555
+ - store_artifacts :
556
+ path : /tmp/ds005/work
557
+ destination : fs_reuse_base
558
+ - store_artifacts :
559
+ path : /tmp/ds005/derivatives
560
+ destination : fs_reuse_base
543
561
ds054 :
544
562
<< : *machine_defaults
545
563
environment :
You can’t perform that action at this time.
0 commit comments