Dear Heudiconvers,
I’ve been following the http://reproducibility.stanford.edu/bids-tutorial-series-part-2a/ tutorial. However, when I run the final call, I end up with an error.
docker run --rm -it -v /mnt/mount/group/:/base nipy/heudiconv:latest -d /base/sub-{subject}/scans//DICOM/.dcm -o /base/Nifti/ -f /base/Nifti/code/{subject}/heuristic.py -s 1103 -c dcm2niix -b --overwrite
INFO: Running heudiconv version 0.6.0.dev1
Traceback (most recent call last):
File “/opt/miniconda-latest/bin/heudiconv”, line 11, in
load_entry_point(‘heudiconv’, ‘console_scripts’, ‘heudiconv’)()
File “/src/heudiconv/heudiconv/cli/run.py”, line 127, in main
process_args(args)
File “/src/heudiconv/heudiconv/cli/run.py”, line 256, in process_args
heuristic = load_heuristic(args.heuristic)
File “/src/heudiconv/heudiconv/utils.py”, line 308, in load_heuristic
mod = import(fname.split(’.’)[0])
ModuleNotFoundError: No module named ‘heuristic’
I am sure I have done something moronic but am not sure what exactly.
If anyone has encountered a similar problem and solved it - or haven’t but have some advice - would love to hear from you.
Cheers, Eunice