pyiron_base
pyiron_base copied to clipboard
Storing boolean values in Datacontainer
Boolean values written to hdf by Datacontainer are transformed to 0 or 1 when loading from hdf. This is a problem f.e. when running atomicrex jobs with delete_existing_job=True, because I transform the values to the necessary xml format using f"{bool}" which then writes 1 instead of True. I can work around this by changing the atomicrex code to use an if condition instead of an f string, which is probably also faster, but this can probably lead to some other confusing bugs that are hard to track down. @pmrv I assigned you because you know whats happening in the DataContainer, I hope thats ok.
@pmrv What is the current status of this issue? I thought this is fixed, right?