Skip to content

Commit

Permalink
fix(eyepy.io): fixes duke layer heights import
Browse files Browse the repository at this point in the history
  • Loading branch information
Oli4 committed Apr 4, 2023
1 parent 5ac3fea commit eb18f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eyepy/io/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def import_duke_mat(path: Union[str, Path]) -> EyeVolume:
names = {0: 'ILM', 1: 'IBRPE', 2: 'BM'}
for i, height_map in enumerate(layer_maps):
volume.add_layer_annotation(
np.flip(height_map, axis=0),
height_map,
name=names[i],
)

Expand Down

0 comments on commit eb18f2a

Please sign in to comment.