import os
import yaml
import numpy as np
from dataclasses import dataclass
from typing import Dict, Tuple
from ase.io import read, write


def import_yaml(address):
    with open(address, 'r') as file:
        loaded_yaml = yaml.safe_load(file)
    return loaded_yaml


def import_run_config(name):
    yaml_config = import_yaml(name)
    return yaml_config
