dbic / heudiconv

little helper to ease DICOM conversion to ready-to-share folder with heuristics
Other
0 stars 1 forks source link

Permission denied while embedding json file for fmap #16

Closed mvdoc closed 7 years ago

mvdoc commented 7 years ago

Probably case specific, because subject was taken out and repositioned, and another fieldmap was run, thus filename collide? (But shouldn't just add __dup?)

INFO: Converting /home/bids/test-1017_face-angles_A000392/Gobbini/Matteo/1017_famface-angles/sub-sid000014/ses-famfirst/fmap/sub-sid000014_ses-famfirst_acq-25mm_phasediff (56 DICOMs) -> /home/bids/test-1017_face-angles_A000392/Gobbini/Matteo/1017_famface-angles/sub-sid000014/ses-famfirst/fmap . Converter: dcm2niix . Output types: ('nii.gz', 'dicom')
INFO: Executing node convert in dir: /tmp/heudiconvdcmfu1JkY/convert
INFO: Running: dcm2niix -b y -z i -x n -t n -m n -f fmap -o /tmp/heudiconvdcmfu1JkY/convert -s n -v n /tmp/heudiconvdcmfu1JkY/convert/1.3.12.2.1107.5.2.43.66112.2017022812064224286825216.dcm
INFO: Executing node embedder in dir: /tmp/heudiconvdcmfu1JkY/embedder
ERROR: Embedding failed: [Errno 13] Permission denied: '/home/bids/test-1017_face-angles_A000392/Gobbini/Matteo/1017_famface-angles/sub-sid000014/ses-famfirst/fmap/sub-sid000014_ses-famfirst_acq-25mm_phasediff.json'
INFO: Post-treating /home/bids/test-1017_face-angles_A000392/Gobbini/Matteo/1017_famface-angles/sub-sid000014/ses-famfirst/fmap/sub-sid000014_ses-famfirst_acq-25mm_phasediff.json file