discover_and_sort_vasp_files

emmet.core.vasp.utils.discover_and_sort_vasp_files(target_dir)

Find and sort VASP files from a directory for TaskDoc.

Return type:

dict[str, dict[str, Path | list[Path]]]

Parameters:

target_dir (Annotated[str | Path | DirEntry[str] | PathLike[str], PlainSerializer(func=~emmet.core.types.typing.<lambda>, return_type=str, when_used=always)])

Parameters

target_dir : FSPathType

Returns

dict of str (categories) to list of FileMetadata (list of VASP files in

that category)