We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02883c1 commit 312440aCopy full SHA for 312440a
bioimageio/core/proc_ops.py
@@ -59,12 +59,7 @@ def _convert_axis_ids(
59
else:
60
assert_never(mode)
61
62
- ret.extend(
63
- [
64
- AxisId(v0_5._AXIS_ID_MAP.get(a, a)) # pyright: ignore[reportPrivateUsage]
65
- for a in axes
66
- ]
67
- )
+ ret.extend([AxisId(a) for a in axes])
68
return tuple(ret)
69
70
@@ -620,7 +615,7 @@ def from_proc_descr(
620
615
if isinstance(descr.kwargs, v0_5.FixedZeroMeanUnitVarianceKwargs):
621
616
dims = None
622
617
elif isinstance(descr.kwargs, v0_5.FixedZeroMeanUnitVarianceAlongAxisKwargs):
623
- dims = (descr.kwargs.axis,)
618
+ dims = (AxisId(descr.kwargs.axis),)
624
619
625
assert_never(descr.kwargs)
626
0 commit comments