-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hello all,
Our MRI console software was recently updated to XA30. This led us to use ideacmdtool to record physiological signals, which are generated in .pmu, .puls, .ecg, and .resp formats.
I tried using the pmu2bidsphysio function to process them, but I get the following error:
Warning: File 'PL01R1AP.puls' does not seem to be a valid VB15A PMU file: Expected: 'not 5002'; got: '5002 [...]'
Traceback (most recent call last):
File "/home/alexandresayal/miniconda3/bin/pmu2bidsphysio", line 8, in <module>
sys.exit(main())
File "/home/alexandresayal/miniconda3/lib/python3.8/site-packages/bidsphysio/pmu2bids/pmu2bidsphysio.py", line 620, in main
physio_data = pmu2bids(args.infiles, verbose=args.verbose)
File "/home/alexandresayal/miniconda3/lib/python3.8/site-packages/bidsphysio/pmu2bids/pmu2bidsphysio.py", line 120, in pmu2bids
physio_type, MDHTime, sampling_rate, physio_signal = readpmu(f, verbose=verbose)
File "/home/alexandresayal/miniconda3/lib/python3.8/site-packages/bidsphysio/pmu2bids/pmu2bidsphysio.py", line 203, in readpmu
return readVE11Cpmu(physio_file)
File "/home/alexandresayal/miniconda3/lib/python3.8/site-packages/bidsphysio/pmu2bids/pmu2bidsphysio.py", line 301, in readVE11Cpmu
physio_signal = parserawPMUsignal(raw_signal)
File "/home/alexandresayal/miniconda3/lib/python3.8/site-packages/bidsphysio/pmu2bids/pmu2bidsphysio.py", line 545, in parserawPMUsignal
signal = [int(v) for v in signal]
File "/home/alexandresayal/miniconda3/lib/python3.8/site-packages/bidsphysio/pmu2bids/pmu2bidsphysio.py", line 545, in <listcomp>
signal = [int(v) for v in signal]
ValueError: invalid literal for int() with base 10: ''
I deduce that the files have somehow changed in this version and hence are not compatible. I attach these files.
I thank you in advance for any help you can provide regarding this problem.
All the best,
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels