update_cp2k_custodian_handlers

atomate2.cp2k.powerups.update_cp2k_custodian_handlers(flow, custom_handlers, class_filter=BaseCp2kMaker)[source]

Return the flow with custom custodian handlers for Cp2k jobs.

This allows user to selectively set error correcting handlers for Cp2k jobs or completely unset error handlers.

Parameters:
  • flow (Flow)

  • custom_handlers (tuple) – A tuple with custodian handlers.

  • class_filter (.BaseCp2kMaker) – The Maker to which custom custodian handler needs to be added

Returns:

Flow with modified custodian handlers.

Return type:

Flow