- bugfix
This commit is contained in:
@@ -212,14 +212,13 @@ class Transforms(dict):
|
|||||||
else:
|
else:
|
||||||
main_channel = goodch[0]
|
main_channel = goodch[0]
|
||||||
transform = Transform()
|
transform = Transform()
|
||||||
if not good_and_untrans:
|
matrix = transform.matrix
|
||||||
matrix = transform.matrix
|
if default_transform is None:
|
||||||
if default_transform is None:
|
matrix[0, 0] = 0.86
|
||||||
matrix[0, 0] = 0.86
|
else:
|
||||||
else:
|
for i, t in zip(((0, 0), (0, 1), (1, 0), (1, 1), (0, 2), (1, 2)), default_transform):
|
||||||
for i, t in zip(([0, 0], [0, 1], [1, 0], [1, 1], [0, 2], [1, 2]), default_transform):
|
matrix[i] = t
|
||||||
matrix[i] = t
|
transform.matrix = matrix
|
||||||
transform.matrix = matrix
|
|
||||||
transforms = Transforms()
|
transforms = Transforms()
|
||||||
for c in tqdm(goodch, desc="Calculating channel transforms"): # noqa
|
for c in tqdm(goodch, desc="Calculating channel transforms"): # noqa
|
||||||
if c == main_channel:
|
if c == main_channel:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "ndbioimage"
|
name = "ndbioimage"
|
||||||
version = "2026.1.1"
|
version = "2026.1.2"
|
||||||
description = "Bio image reading, metadata and some affine registration."
|
description = "Bio image reading, metadata and some affine registration."
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "W. Pomp", email = "w.pomp@nki.nl" }
|
{ name = "W. Pomp", email = "w.pomp@nki.nl" }
|
||||||
|
|||||||
Reference in New Issue
Block a user