diff --git a/spec2nii/GE/ge_hdr_fields.py b/spec2nii/GE/ge_hdr_fields.py index 7f109ed..f6ae330 100644 --- a/spec2nii/GE/ge_hdr_fields.py +++ b/spec2nii/GE/ge_hdr_fields.py @@ -2303,7 +2303,7 @@ def get_pfile_hdr_fields(version): plist.append(('pad_xx', ct.c_char * 51)) plist.append(('rhi_image_uid', ct.c_char * 32)) - elif version_major in (26, 27, 28): + elif version_major in (26, 27, 28, 29, 30): plist.append(('rhr_rh_rdbm_rev', ct.c_float)) plist.append(('rhr_rdb_hdr_off_data', ct.c_int)) plist.append(('pad_xx', ct.c_char * 84)) diff --git a/spec2nii/GE/ge_read_pfile.py b/spec2nii/GE/ge_read_pfile.py index 9223c3f..bc1db11 100644 --- a/spec2nii/GE/ge_read_pfile.py +++ b/spec2nii/GE/ge_read_pfile.py @@ -156,7 +156,7 @@ def is_ge_file(self): 157276, # v24 empirical 213684, # 26.002 219828, # 27.000 - 228020 # 28.003 + 228020 # 28.003,29.1,30.0 ): return True else: @@ -318,7 +318,9 @@ def _version(self, filelike): 25.001, 25.002, 25.003, 25.004, 26.000, 26.001, 26.002, 27.000, 27.001, - 28.000, 28.002, 28.003 + 28.000, 28.002, 28.003, + 29.1, + 30.0 ] # Note that caution is needed for float comparisons, given the