Skip to content

Commit

Permalink
Lint at 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
wtclarke committed Jul 3, 2024
1 parent 6f0f176 commit dba6a8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec2nii/GSL/gslfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def class_ori(sag_comp, cor_comp, tra_comp, debug):
'''

if debug:
print(f'Normal vector = {sag_comp : 10.7f} {cor_comp : 10.7f} {tra_comp : 10.7f}.')
print(f'Normal vector = {sag_comp: 10.7f} {cor_comp: 10.7f} {tra_comp: 10.7f}.')

# Compute some temporary values
abs_sag_comp = np.abs(sag_comp)
Expand Down
4 changes: 2 additions & 2 deletions spec2nii/Siemens/twixfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ def process_svs(twixObj, base_name_out, name_in, dataKey, dim_overrides, remove_
out_name = f'{mainStr}'
for idx, ii in enumerate(index):
indexStr = dim_order[3 + idx]
out_name += f'_{indexStr}{ii :03d}'
out_name += f'_{indexStr}{ii: 03d}'

filename_out.append(out_name)

Expand Down Expand Up @@ -631,7 +631,7 @@ def process_fid(twixObj, base_name_out, name_in, dataKey, dim_overrides, remove_
out_name = f'{mainStr}'
for idx, ii in enumerate(index):
indexStr = dim_order[3 + idx]
out_name += f'_{indexStr}{ii :03d}'
out_name += f'_{indexStr}{ii: 03d}'

filename_out.append(out_name)

Expand Down

0 comments on commit dba6a8f

Please sign in to comment.