Skip to content

Commit 10f2b75

Browse files
authored
Fixing group names in MGXS HDF5 file (#3708)
1 parent c7d7fa4 commit 10f2b75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openmc/mgxs/mgxs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1923,7 +1923,7 @@ def build_hdf5_store(self, filename='mgxs.h5', directory='mgxs',
19231923

19241924
# Create an HDF5 group for the subdomain
19251925
if self.domain_type == 'distribcell':
1926-
group_name = ''.zfill(num_digits)
1926+
group_name = str(subdomain).zfill(num_digits)
19271927
subdomain_group = domain_group.require_group(group_name)
19281928
else:
19291929
subdomain_group = domain_group

0 commit comments

Comments
 (0)