Skip to content
Snippets Groups Projects
Commit 634b67c6 authored by whooie's avatar whooie
Browse files

small adjustments to terminal output

parent cb356cf8
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ class ImagingData:
T = pathlib.Path(self.name) if target is None else target
if printflag: print(f"[imaging] Saving data to {T}:")
if not T.is_dir():
if printflag: print(f"[imaging] :: mkdir {T}")
if printflag: print(f"[imaging] mkdir {T}")
T.mkdir(parents=True, exist_ok=True)
arrays_file = _fresh_filename(T.joinpath("arrays.npz"), overwrite)
......@@ -104,7 +104,7 @@ class ImagingData:
_dx = self.config.get("bin_size", 1) * (DEF_DX if dx is None else dx)
if printflag: print(f"[imaging] Render images to {T}:")
if not T.is_dir():
if printflag: print(f"[imaging] :: mkdir {T}")
if printflag: print(f"[imaging] mkdir {T}")
T.mkdir(parents=True, exist_ok=True)
for label, array in self.arrays.items():
if printflag: print(f"[imaging] render {label}")
......
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