Skip to content

Commit

Permalink
updated docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Dingel321 committed Jan 21, 2024
1 parent 6c15e51 commit a8ff67b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cryo_sbi/utils/image_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def get_image(self, idx: Union[int, list]):
"""
assert (
self._index_map is not None
), "Index map not built. First call build_index_map()"
), "Index map not built. First call build_index_map() or load_index_map()"
if isinstance(idx, int):
image = mrc_to_tensor(self.paths[self._path_index[idx]])
if image.ndim > 2:
Expand Down

0 comments on commit a8ff67b

Please sign in to comment.