plinder.core.utils.config#
- plinder.core.utils.config.get_config_hash(config_obj: Any) str[source]#
Return a consistent hash of any object, dataclass, or omegaconf container.
- Parameters:
- config_objdict | dataclass | DictConfig
the configuration to hash
- Returns:
- config_hashstr
the hash of the configuration
- class plinder.core.utils.config.DataConfig(plinder_release: str = <factory>, plinder_release_number: str = <factory>, plinder_mount: str = <factory>, plinder_bucket: str = <factory>, scores: str = 'scores', source_mmcifs: str = 'source_mmcifs', force_update: bool = False)[source]#
Bases:
objectA class for all the data configuration.
- Attributes:
- plinder_releasestr
the ingest month for the PLINDER release, formatted as
YYYY-MM- plinder_release_numberstr
the numbered release for that ingest month
- plinder_mountstr, default=”~/.local/share/plinder”
the resting place for the plinder dataset
- plinder_bucketstr, default=”plinder”
the local cache subdirectory name
- plinder_dirstr
set automatically
- plinder_remotestr
set automatically; the release root under
PLINDER_MIRROR_URL(defaulthttps://cameo3d.org/plinder), inPLINDER-YYYY-MMdirectories
Notes
plinder_dir is always derived from plinder_mount/plinder_release so do not set it manually!
- plinder_release: str#
- plinder_release_number: str#
- plinder_mount: str#
- plinder_bucket: str#
- plinder_dir: str#
- plinder_remote: str#
- scores: str = 'scores'#
- source_mmcifs: str = 'source_mmcifs'#
- force_update: bool = False#