Skip to content

Commit 4a73b36

Browse files
Update csareader.py to correct style errors
1 parent f83ed47 commit 4a73b36

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

nibabel/nicom/csareader.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,9 @@ def get_csa_header(dcm_data, csa_type='image'):
6666
try:
6767
tag = dcm_data[(0x29, element_no)]
6868
return read(tag.value)
69-
except (KeyError,CSAReadError):
69+
except (KeyError, CSAReadError):
7070
# The element could be missing due to anonymization
71-
return None
72-
71+
return None
7372

7473

7574
def read(csa_str):

0 commit comments

Comments
 (0)