diff --git a/python/damask/_result.py b/python/damask/_result.py index c545b52e8..83c1e8298 100644 --- a/python/damask/_result.py +++ b/python/damask/_result.py @@ -106,7 +106,7 @@ class Result: self.version_major = f.attrs['DADF5_version_major'] self.version_minor = f.attrs['DADF5_version_minor'] - if self.version_major != 0 or not 12 <= self.version_minor <= 14: + if (self.version_major != 0 or not 12 <= self.version_minor <= 14) and self.version_major != 1: raise TypeError(f'unsupported DADF5 version "{self.version_major}.{self.version_minor}"') if self.version_major == 0 and self.version_minor < 14: self.export_simulation_setup = None # type: ignore diff --git a/src/result.f90 b/src/result.f90 index 6c4f7de82..46471e289 100644 --- a/src/result.f90 +++ b/src/result.f90 @@ -83,8 +83,8 @@ subroutine result_init(restart) if (.not. restart) then resultFile = HDF5_openFile(getSolverJobName()//'.hdf5','w') - call result_addAttribute('DADF5_version_major',0) - call result_addAttribute('DADF5_version_minor',14) + call result_addAttribute('DADF5_version_major',1) + call result_addAttribute('DADF5_version_minor',0) call get_command_argument(0,commandLine) call result_addAttribute('creator',trim(commandLine)//' '//DAMASKVERSION) call result_addAttribute('created',now())