mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-21 14:35:27 -04:00
Fixing group names in MGXS HDF5 file (#3708)
This commit is contained in:
parent
c7d7fa4613
commit
10f2b7534c
1 changed files with 1 additions and 1 deletions
|
|
@ -1923,7 +1923,7 @@ class MGXS:
|
|||
|
||||
# Create an HDF5 group for the subdomain
|
||||
if self.domain_type == 'distribcell':
|
||||
group_name = ''.zfill(num_digits)
|
||||
group_name = str(subdomain).zfill(num_digits)
|
||||
subdomain_group = domain_group.require_group(group_name)
|
||||
else:
|
||||
subdomain_group = domain_group
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue