We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
name
1 parent 1be3beb commit 6d0d89dCopy full SHA for 6d0d89d
src/atomate2/common/powerups.py
@@ -87,12 +87,10 @@ def update_custodian_handlers(
87
>>> handlers = (VaspErrorHandler(), MeshSymmetryErrorHandler())
88
>>> flow = update_custodian_handlers(flow, handlers, RelaxBandStructureMaker)
89
"""
90
+ code = class_filter.name.split(" ")[1]
91
+
92
flow.update_maker_kwargs(
- {
- "_set": {
93
- f"run_{class_filter.__name__.lower()}_kwargs->handlers": custom_handlers
94
- }
95
- },
+ {"_set": {f"run_{code}_kwargs->handlers": custom_handlers}},
96
dict_mod=True,
97
class_filter=class_filter,
98
)
0 commit comments