Skip to content

Commit 7d06aa6

Browse files
committed
🚨 Minor linting
1 parent 578930e commit 7d06aa6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CPAC/distortion_correction/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def phase_encode(unwarp_dir, phase_one, phase_two, dwell_time_one=None,
183183
if isinstance(unwarp_dir, bytes):
184184
unwarp_dir = unwarp_dir.decode()
185185

186-
if unwarp_dir in ["x", "x-", "-x","i","-i","i-"]:
186+
if unwarp_dir in ["x", "x-", "-x", "i", "-i", "i-"]:
187187
if dwell_time_one and dwell_time_two:
188188
dim = nibabel.load(phase_one).shape[0]
189189
n_PE_steps = dim - 1
@@ -194,7 +194,7 @@ def phase_encode(unwarp_dir, phase_one, phase_two, dwell_time_one=None,
194194
else:
195195
raise Exception("[!] No dwell time or total readout time "
196196
"present for the acq-fMRI EPI field maps.")
197-
elif unwarp_dir in ["y", "y-", "-y","j","-j","j-"]:
197+
elif unwarp_dir in ["y", "y-", "-y", "j", "-j", "j-"]:
198198
if dwell_time_one and dwell_time_two:
199199
dim = nibabel.load(phase_one).shape[1]
200200
n_PE_steps = dim - 1

0 commit comments

Comments
 (0)