atomate2.common.utils

Common utilities for atomate2.

Functions

check_class_name

Check if an object's class name matches an allowed list.

get_supercell_matrix

Determine supercell size with given min_length and max_length.

get_transformations

Get instantiated transformation objects from their names and parameters.

parse_additional_json

Parse additional JSON files in the directory.

parse_custodian

Parse custodian.json file.

parse_transformations

Parse transformations.json file.

Classes

TYPE_CHECKING

bool(x) -> bool