BrkRaw / brkraw

BrkRaw: A comprehensive tool to access raw Bruker Biospin MRI data
https://brkraw.github.io
GNU General Public License v3.0
44 stars 27 forks source link

visu_pars file parsing error #102

Open archang opened 1 year ago

archang commented 1 year ago

Describe the bug Running into this error for one of my bruker scan directories:

if dset._get_dim_info(visu_pars)[1] == 'spatial_only':
TypeError: 'NoneType' object is not subscriptable

By process of elimination, I determined that the offending scan is scan '1', belonging to a subject that has a total of 4 scans. I attached the visu_pars file here. It seems that both the 'VisuCoreDim' and 'VisuCoreDimDesc' are appropriate values (1 & 'spatial spatial', respectively), so I am not sure why I am getting this error. visu_pars.txt (Note that I only renamed 'visu_pars' to 'visu_pars.txt' for the purpose of uploading).

dvm-shlee commented 6 months ago

@archang Sorry for the delay—it's been over a year since this issue was posted. Could you please confirm if you're still experiencing this problem with the latest update? If the issue persists, could you provide a 2dseq file for testing? This would help me verify if the updated module can handle it. If you have concerns about sharing the file publicly, feel free to email it to me directly at shlee@unc.edu.