From 62a71aa0abea44a7b2afb5cda82e82bba48e6f39 Mon Sep 17 00:00:00 2001 From: Michal Januszewski Date: Mon, 12 Jan 2026 12:08:51 -0800 Subject: [PATCH] Fix reference to num_channels. PiperOrigin-RevId: 855330274 --- processor/mesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processor/mesh.py b/processor/mesh.py index c6c6486..8f77182 100644 --- a/processor/mesh.py +++ b/processor/mesh.py @@ -345,7 +345,7 @@ def get_prev_state( flow_volume = self._open_volume(flow.volume) flow_field = flow_volume[bbox.to_slice4d()] - if flow_volume.info.num_channels == 2: + if flow_volume.meta.num_channels == 2: offset = np.array([0, 0, flow.delta_z]) ref_box = bbox.translate(-offset) ref_mesh = self.compute_ref_mesh(flow_field, ref_box, stride)