|
5 | 5 | from atomate.common.powerups import (
|
6 | 6 | add_additional_fields_to_taskdocs as common_add_additional_fields_to_taskdocs,
|
7 | 7 | )
|
8 |
| -from atomate.common.powerups import add_namefile as common_add_namefile |
| 8 | +from atomate.common.powerups import add_namefile |
9 | 9 | from atomate.common.powerups import add_priority as common_add_priority
|
10 | 10 | from atomate.common.powerups import preserve_fworker as common_preserve_fworker
|
11 | 11 | from atomate.common.powerups import (
|
@@ -196,11 +196,6 @@ def use_fake_vasp(
|
196 | 196 | return original_wf
|
197 | 197 |
|
198 | 198 |
|
199 |
| -@deprecated(replacement=common_add_namefile) |
200 |
| -def add_namefile(original_wf, use_slug=True): |
201 |
| - return common_add_namefile(original_wf, use_slug=use_slug) |
202 |
| - |
203 |
| - |
204 | 199 | def add_trackers(original_wf, tracked_files=None, nlines=25):
|
205 | 200 | """
|
206 | 201 | Every FireWork that runs VASP also tracks the OUTCAR, OSZICAR, etc using FWS
|
@@ -687,7 +682,7 @@ def add_common_powerups(wf, c=None):
|
687 | 682 | c = c or {}
|
688 | 683 |
|
689 | 684 | if c.get("ADD_NAMEFILE", ADD_NAMEFILE):
|
690 |
| - wf = common_add_namefile(wf) |
| 685 | + wf = add_namefile(wf) |
691 | 686 |
|
692 | 687 | if c.get("SCRATCH_DIR", SCRATCH_DIR):
|
693 | 688 | wf = use_scratch_dir(wf, c.get("SCRATCH_DIR", SCRATCH_DIR))
|
|
0 commit comments