pyiron_base.maintenance.update.pyiron_base_03x_to_04x.pyiron_base_03x_to_04x#
- pyiron_base.maintenance.update.pyiron_base_03x_to_04x.pyiron_base_03x_to_04x(project)[source]#
pyiron_base<=0.3.10 has a bug that writes all arrays with dtype=object even numeric ones. As a fix pyiron_base=0.4.1 introduces a conversion when reading such arrays, but does not automatically save them. This conversion script simply goes over all jobs and rewrites their HDF5 files, since it’s read with the correct dtype, this then writes this correct dtype.