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

Let accessor make directory

parent ffbc837d
No related branches found
No related tags found
No related merge requests found
......@@ -170,7 +170,9 @@ class CziImageFileAccessor(GenericImageFileAccessor):
self.czifile.close()
def write_accessor_data_to_file(fpath: Path, accessor: GenericImageDataAccessor) -> bool:
def write_accessor_data_to_file(fpath: Path, accessor: GenericImageDataAccessor, mkdir=True) -> bool:
if mkdir:
fpath.parent.mkdir(parents=True, exist_ok=True)
try:
zcyx= np.moveaxis(
accessor.data, # yxcz
......
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