Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions nibabel/ecat.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,8 +611,7 @@ def _get_oriented_data(self, raw_data, orientation=None):
elif orientation == 'radiological':
orientation = patient_orient_radiological[0]
else:
raise ValueError('orientation should be None,\
neurological or radiological')
raise ValueError('orientation should be None, neurological or radiological')

if orientation in patient_orient_neurological:
raw_data = raw_data[::-1, ::-1, ::-1]
Expand Down