get_structure_path

get_structure_path#

lobsterpy.featurize.utils.get_structure_path(lobster_path)[source]#

Search iteratively for (unzipped / zipped) structure file.

CONTCAR is prioritized over POSCAR.lobster.

Parameters:

lobster_path (Path) – path to root LOBSTER calc directory

Returns:

path to structure file

Return type:

Path