System Model¶
System is the top-level serialized container for a generated molecular model.
What it contains¶
workspace_pathpdb_idunitsmolecule_typesmolecule_instancesinterface_typesinterface_instances
Serialization¶
System supports:
to_dict()to_json()from_dict()from_json()
These methods preserve the model structure and rebuild internal cross-references after loading.
Example¶
from ionerdss.model.components.system import System
system = System(workspace_path="workspace", pdb_id="1ABC")
system.to_json("model.json")
restored = System.from_json("model.json")