rheon.schema_version

rheon.schema_version()

The version of the state file’s layout that this build writes.

Use it to tell whether this build can load a state file: rheon.ModelBank.load() refuses a file written under a higher version, and one below the oldest version this build loads.

Returns

int: the version, which rises with every change to the layout.

Examples

version = rp.schema_version()     # the layout a saved state file has