Skip to content
Snippets Groups Projects
Commit d27c80bc authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

Lazy loading remains only a feature of GenericImageFileAccessor; not applied to PatchStack

parent e78c0358
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,6 @@ class GenericImageDataAccessor(ABC):
def is_3d(self):
return True if self.shape_dict['Z'] > 1 else False
# TODO: no direct calls to self._data outside load/unload methods
def is_mask(self):
return is_mask(self.data)
......@@ -405,7 +404,7 @@ def generate_file_accessor(fpath, **kwargs):
else:
raise FileAccessorError(f'Could not match a file accessor with {fpath}')
# TODO: implement lazy loading at patch stack level
class PatchStack(InMemoryDataAccessor):
axes = 'PYXCZ'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment