openneuropet / PET2BIDS

PET2BIDS helps you convert your PET data into BIDS! raw PET scanner files (e.g. ecat, dicom) and additional side files like .e.g excel sheets -- paper @JOSS https://doi.org/10.21105/joss.06067
https://pet2bids.readthedocs.io
MIT License
26 stars 20 forks source link

Bug fix: enable json sidecar generation for older dcm2niix versions #242

Closed bilgelm closed 11 months ago

bilgelm commented 11 months ago

Issue: No json output after running dcm2niix4pet.

Reason: Older versions of dcm2niix don't generate the json sidecar by default.

Fix: Added -b y argument to dcm2niix to enable the generation of the json sidecar for older versions. This change should not affect the behavior with the latest version of dcm2niix.