Closed imr-framework closed 4 years ago
@tonggehua Was the .seq
file generated on Pulseq or pypulseq?
@tonggehua Was the
.seq
file generated on Pulseq or pypulseq?
It was generated with pypulseq.
@sravan953 With the current version, this happens:
s.read('seq_files/FLASH_N256_Ns16_TE5ms_TR10ms_FA8deg.seq')
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\Users\tongg\PycharmProjects\py2jemris\venv\lib\site-packages\pypulseq\Sequence\sequence.py", line 175, in read
read(self, file_path)
File "C:\Users\tongg\PycharmProjects\py2jemris\venv\lib\site-packages\pypulseq\Sequence\read_seq.py", line 42, in read
f'Unsupported version: {version_major, version_minor, version_revision}. '
Exception: Unsupported version: (array([1.]), array([2.]), array([1.])). Expected: (1, 2, 0)
@tonggehua Does it read alright if you manually change the version number to 1.2.0 in the seq file? I guess I updated the version number incorrectly during the JOSS review process.
@sravan953 it does; do you mind changing it back to 1.2.1, so it aligns for everyone?
@tonggehua Good to hear. Sorry for the inconvenience, but sticking to 1.2.0 makes sense so that it remains compatible with Pulseq on Matlab.
Describe the bug Indexing error appears when trying to load a regular .seq file (FLASH sequence, 2D Cartesian)
To Reproduce
Expected behavior The following error appears:
Desktop (please complete the following information):