import itertools as it
from pysisyphus.db import MOLECULES, LEVELS, LEVEL_DIR
[docs]
def full_name(molecule_name, level_name):
return f"{molecule_name}_{level_name}"
[docs]
def get_path(molecule_name, level_name):
return LEVEL_DIR / level_name / f"{molecule_name}.xyz"
[docs]
def get_molecules_levels():
molecules_levels = list()
for level, molecule in it.product(LEVELS, MOLECULES):
level_name, *_ = level
molecule_name, *_ = molecule
molecules_levels.append(full_name(molecule_name, level_name))
return molecules_levels