Skip to content
Snippets Groups Projects
Commit 3f4bc5a3 authored by whooie's avatar whooie
Browse files

add label to clipping warning

parent 487b3983
No related branches found
No related tags found
No related merge requests found
......@@ -170,7 +170,7 @@ class FluorescenceData(ImagingData):
continue
dtype_info = np.iinfo(array.dtype)
if array.max() >= (dtype_info.max - dtype_info.bits):
print("[imaging] WARNING: image may contain clipping")
print("[imaging] WARNING: image '{label}' may contain clipping")
N = compute_mot_number(
array if "background" not in self.arrays.keys() \
else (
......
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