Fixing group names in MGXS HDF5 file (#3708)

This commit is contained in:
Jonathan Shimwell 2026-01-06 21:18:23 +01:00 committed by GitHub
parent c7d7fa4613
commit 10f2b7534c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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