Skip to content

Ligprep config

Implementation for the yaml class to write configuration for Gypsum-DL.

GypsumDLConfig(file_path, data_dict=None)

Bases: YamlConfig

Class to handle YAML configuration files for Gypsum-DL.

Initialize with the path to the YAML file. Args: file_path (str): Path to the YAML configuration file. data_dict (dict| None) : Dictionary to create the YAML file if it doesn't exist.

declare_defaults()

Declare default settings for Gypsum-DL (grouped under gypsum_dl).

validate()

Validate the current configuration against allowed values.