You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running following reproducible script (make it into a smoke test?! data is already defaced so either bidsonym should crash informing about that or at least should try to deface I guess):
#!/bin/bashexport PS4='> 'set -x
set -eu
cd"$(mktemp -d ${TMPDIR:-/tmp}/dl-XXXXXXX)"
datalad install ///openneuro/ds000003
cd ds000003
datalad install -d . -s ///repronim/containers .datalad/containers
echo'deface_wf'> .gitignore # should really be an option to bidsonym
git add .gitignore; git commit -m 'ignore deface_wf' .gitignore
datalad containers-run -n .datalad/containers/bids-bidsonym -i "sub-01/anat/*.nii.gz" -o "sub-01/anat/*.nii.gz" -m "defacing 01". participant --participant_label 01 --deid mri_deface --brainextraction bet --bet_frac 0.5
note: you need singularity, datalad, and datalad-container extension
results in:
RuntimeError: Command:
bet sub-01/anat/sub-01_T1w.nii.gz sourcedata/bidsonym/sub-01/sub-01_space-native_brainmask.nii.gz -f 0.50 -m
Standard output:
Error: input image sub-01/anat/sub-01_T1w not valid
running that command within bidsonym singularity container directly seems to work
Running following reproducible script (make it into a smoke test?! data is already defaced so either bidsonym should crash informing about that or at least should try to deface I guess):
note: you need singularity, datalad, and datalad-container extension
results in:
running that command within bidsonym singularity container directly seems to work
so I suspect it is something about workflow setup etc
The text was updated successfully, but these errors were encountered: