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

Changed pypet2bids to check env for vars #292

Closed bendhouseart closed 6 months ago

bendhouseart commented 6 months ago

Added logic so that if a .pet2bidsconfig file isn't found (or able to be written) check_pet2bids_config will return whatever value it is able to locate from environment variables. This might just be a new footgun, but it's got the virtue of being new.

Closes issue #291


📚 Documentation preview 📚: https://pet2bids--292.org.readthedocs.build/en/292/