Converting XML/REC files #196
-
Hello! I have seen in the BIDScoin article and in your documentation that conversion from XML/REC is supported. I have been trying to convert XML/REC files from Philips into NIfTIs. I tried using PAR/REC files and I was able to get it working, but using the XML header file, rather than the PAR header file will not work. Here is my error message: $ bidsmapper ./bids/sourcedata ./bids
Note: I edited the paths to make them relative to the bids folder rather than displaying the full path. Perhaps you have an XML/REC dataset along with instructions to get the conversion working that I could follow to help me understand what I am doing wrong? Thanks! :) |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hello Alex, thanks for your report. I work with Siemens DICOM data and don't have XML/REC data to test my code, hence your problems. I suspect I can use nibabel to solve it, will look into it... |
Beta Was this translation helpful? Give feedback.
-
I had a look and I was already using nibabel to read the PAR/XML header, assuming nibabel was supporting XML. It turns out that is an open issue/PR: BIDScoin does support XML/REC for spectroscopy btw (SPAR) |
Beta Was this translation helpful? Give feedback.
-
I see there is another hurdle, namely dcm2niix doesn't like XML/REC:
|
Beta Was this translation helpful? Give feedback.
-
I will update the docs to state that only SPAR-XML is supported |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick feedback! |
Beta Was this translation helpful? Give feedback.
I will update the docs to state that only SPAR-XML is supported