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
25 stars 20 forks source link

BUG: PharmaceuticalName not retrieved from ECAT file #293

Closed nbeliy closed 4 months ago

nbeliy commented 5 months ago

ecat2bids fails to retrieve PharmaceuticalName metadata from ECAT header due to a misspell in ecat.py:292:

        self.sidecar_template["PharmaceuticalName"] = self.ecat_header.get(
            "RADIOPHARAMCEUTICAL", None
        )

The correct ECAT header field is RADIOPHARMACEUTICAL (no A after R)