atomistics.calculators.wrapper

atomistics.calculators.wrapper#

A wrapper for mapping between functions that evaluate a single structure to those that evaluate a task dictionary.

Functions

as_task_dict_evaluator(calculate)

Takes a callable that acts on a single structure and a (string) list of tasks to and maps it to a function that operates on a task-list dictionary of structures, structure labels, and the same task list strings.