Skip to content

Commit 598bcaa

Browse files
authored
Merge pull request #1156 from DimitriPapadopoulos/ecat
BF: Fix error message
2 parents 0bb649e + efb8ce9 commit 598bcaa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nibabel/ecat.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -611,8 +611,7 @@ def _get_oriented_data(self, raw_data, orientation=None):
611611
elif orientation == 'radiological':
612612
orientation = patient_orient_radiological[0]
613613
else:
614-
raise ValueError('orientation should be None,\
615-
neurological or radiological')
614+
raise ValueError('orientation should be None, neurological or radiological')
616615

617616
if orientation in patient_orient_neurological:
618617
raw_data = raw_data[::-1, ::-1, ::-1]

0 commit comments

Comments
 (0)