Skip to content

Commit e9b9a10

Browse files
committed
autopep8 dicomwrappers.py
1 parent 2f2a40e commit e9b9a10

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

nibabel/nicom/dicomwrappers.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,12 @@ def wrapper_from_data(dcm_data):
8080
return MultiframeWrapper(dcm_data)
8181
# Check for Siemens DICOM format types
8282
# Only Siemens will have data for the CSA header
83-
try:
83+
try:
8484
csa = csar.get_csa_header(dcm_data)
8585
except csar.CSAReadError as e:
86-
warnings.warn('Error while attempting to read CSA header: '+
87-
str(e.args) + '\n Ignoring Siemens private (CSA) header info.')
86+
warnings.warn('Error while attempting to read CSA header: ' +
87+
str(e.args) +
88+
'\n Ignoring Siemens private (CSA) header info.')
8889
csa = None
8990
if csa is None:
9091
return Wrapper(dcm_data)

0 commit comments

Comments
 (0)