Skip to content

Commit

Permalink
int(1) → 1
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Sep 30, 2023
1 parent fee3141 commit bd9efe2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec2nii/Siemens/twixfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,15 @@ def process_mrsi(twixObj, base_name_out, name_in, dataKey, remove_os=True, quiet
if twixObj.hdr.Meas.lFinalMatrixSizePhase:
data_size.append(int(twixObj.hdr.Meas.lFinalMatrixSizePhase))
else:
data_size.append(int(1))
data_size.append(1)
if twixObj.hdr.Meas.lFinalMatrixSizeRead:
data_size.append(int(twixObj.hdr.Meas.lFinalMatrixSizeRead))
else:
data_size.append(int(1))
data_size.append(1)
if twixObj.hdr.Meas.lFinalMatrixSizeSlice:
data_size.append(int(twixObj.hdr.Meas.lFinalMatrixSizeSlice))
else:
data_size.append(int(1))
data_size.append(1)

data_size.append(int(twixObj.hdr.Meas.lVectorSize))

Expand Down

0 comments on commit bd9efe2

Please sign in to comment.