wtclarke / spec2nii

Multi-format in vivo MR spectroscopy conversion to NIFTI
Other
27 stars 23 forks source link

Add support for .txt files exported by older versions of jMRUI #133

Closed DC-3T closed 8 months ago

DC-3T commented 8 months ago

Expanded 'signal' regular expression to include syntax from earlier jMRUI versions (which refer to 'Signal number: 1 out of 1 in file' rather than 'Signal 1 out of 1 in file', for example). Example jMRUI .txt file from jMRUI v3 attached: P31rest_proc_jmrui.txt

wtclarke commented 8 months ago

Thank you @DC-3T for this PR and supplying the test data. I've added a test, and will merge this if successful.