From 6a255acfb173eb39cd2079ed372a6600e4d410e8 Mon Sep 17 00:00:00 2001 From: "Labossiere-Hickman, Travis James" Date: Thu, 16 Jul 2026 17:06:18 -0600 Subject: [PATCH] index surf --- openmc/filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/filter.py b/openmc/filter.py index b16f485df9..674aa2803e 100644 --- a/openmc/filter.py +++ b/openmc/filter.py @@ -1358,7 +1358,7 @@ class MeshSurfaceFilter(MeshFilter): # Generate multi-index sub-column for surface filter_dict[mesh_key, 'surf'] = _repeat_and_tile( - current_names, stride, data_size) + current_names[:n_surfs], stride, data_size) # Initialize a Pandas DataFrame from the mesh dictionary return pd.concat([df, pd.DataFrame(filter_dict)])