even with patched copy the class needs to called

This commit is contained in:
Vitesh Shah 2023-11-27 14:00:17 +01:00
parent b1c2e51528
commit e3d85e09c8
1 changed files with 1 additions and 0 deletions

View File

@ -1976,6 +1976,7 @@ class Result:
Directory to save DREAM3D files. Will be created if non-existent.
"""
h5py_modified._hl.attrs.AttributeManager = AttributeManagerNullterm # 'Monkey patch'
if self.N_constituents != 1 or not self.structured:
raise TypeError('DREAM3D output requires structured grid with single constituent.')