aiida_dlpoly.utils¶
Utility functions for the AiiDA DL_POLY plugin.
Functions
|
Convert a CONFIG file into an AiiDA StructureData node. |
|
Extract all parameters in a CONTROL file into a dictionary. |
Convert a SinglefileData config node to a StructureData node. |
|
|
Write a CONFIG file based on an AiiDA StructureData node. |
Classes
|
A utility class for parsing a DL_POLY STATIS file. |
- class aiida_dlpoly.utils.DLPStatis(file: str | None, control: dict | None = None)[source]¶
Bases:
objectA utility class for parsing a DL_POLY STATIS file.
Aspects of this class have been derived from the dlpoly-py python package, see https://gitlab.com/ccp5/dlpoly-py.
- add_additional_labels(control: dict) None[source]¶
Add additional optional entries to the statistics based on control inputs.
- aiida_dlpoly.utils.config_to_structuredata(config_file: str) StructureData[source]¶
Convert a CONFIG file into an AiiDA StructureData node.
- aiida_dlpoly.utils.control_to_dict(control: str | Path | SinglefileData) dict[source]¶
Extract all parameters in a CONTROL file into a dictionary.