This commit is contained in:
w.pomp
2026-01-26 17:22:11 +01:00
parent 8ff52f5af5
commit e5eac07b7b
2 changed files with 8 additions and 9 deletions

View File

@@ -212,14 +212,13 @@ class Transforms(dict):
else:
main_channel = goodch[0]
transform = Transform()
if not good_and_untrans:
matrix = transform.matrix
if default_transform is None:
matrix[0, 0] = 0.86
else:
for i, t in zip(([0, 0], [0, 1], [1, 0], [1, 1], [0, 2], [1, 2]), default_transform):
matrix[i] = t
transform.matrix = matrix
matrix = transform.matrix
if default_transform is None:
matrix[0, 0] = 0.86
else:
for i, t in zip(((0, 0), (0, 1), (1, 0), (1, 1), (0, 2), (1, 2)), default_transform):
matrix[i] = t
transform.matrix = matrix
transforms = Transforms()
for c in tqdm(goodch, desc="Calculating channel transforms"): # noqa
if c == main_channel:

View File

@@ -1,6 +1,6 @@
[project]
name = "ndbioimage"
version = "2026.1.1"
version = "2026.1.2"
description = "Bio image reading, metadata and some affine registration."
authors = [
{ name = "W. Pomp", email = "w.pomp@nki.nl" }