use_auto_ispin#

atomate2.vasp.powerups.use_auto_ispin(flow: Job | Flow | Maker, value: bool = True, name_filter: Optional[str] = None, class_filter: type[Maker] | None = BaseVaspMaker) Job | Flow | Maker[source]#

Update the auto_ispin setting of any VaspInputGenerators in the flow.

Alternatively, if a Maker is supplied, the auto_ispin of the maker will be updated.

Note, this returns a copy of the original Job/Flow/Maker. I.e., the update does not happen in place.

Parameters
flowJob or Flow or Maker

A job, flow or Maker.

valuebool

The value of auto_ispin to set.

name_filterstr or None

A filter for the name of the jobs.

class_filterMaker or None

A filter for the VaspMaker class used to generate the flows. Note the class filter will match any subclasses.

Returns
Job or Flow or Maker

A copy of the input flow/job/maker but with auto_ispin set.