atomate.common package

Submodules

atomate.common.powerups module

This module defines general powerups that can be used for all workflows

atomate.common.powerups.set_queue_adapter(original_wf: fireworks.core.firework.Workflow, queueadapter: dict = None, fw_name_constraint: str = None, task_name_constraint: str = None) → fireworks.core.firework.Workflow

set _queueadapter spec of Fireworker(s) of a Workflow. It can be used to change the overall queueadapter during the run.

Args:

original_wf (Workflow): workflow that will be changed queueadapter (dict): dict to change _queueadapter fw_name_constraint (str): name of the Fireworks to be tagged (all if None is passed) task_name_constraint (str): name of the Firetasks to be tagged (e.g. None or ‘RunVasp’)

Returns:

Workflow: modified workflow with specified Fireworkers tagged

Module contents