|
3 | 3 | sequences of VASP calculations.
|
4 | 4 | """
|
5 | 5 | import warnings
|
| 6 | +from typing import Any, Dict, List, Union |
6 | 7 |
|
7 | 8 | from fireworks import Firework
|
8 | 9 | from pymatgen.core import Structure
|
@@ -591,20 +592,20 @@ def __init__(
|
591 | 592 | class DFPTFW(Firework):
|
592 | 593 | def __init__(
|
593 | 594 | self,
|
594 |
| - structure=None, |
595 |
| - prev_calc_dir=None, |
596 |
| - name="static dielectric", |
597 |
| - vasp_cmd=VASP_CMD, |
598 |
| - copy_vasp_outputs=True, |
599 |
| - lepsilon=True, |
600 |
| - db_file=DB_FILE, |
601 |
| - parents=None, |
602 |
| - user_incar_settings=None, |
603 |
| - pass_nm_results=False, |
| 595 | + structure: Structure = None, |
| 596 | + prev_calc_dir: str = None, |
| 597 | + name: str = "static dielectric", |
| 598 | + vasp_cmd: str = VASP_CMD, |
| 599 | + copy_vasp_outputs: bool = True, |
| 600 | + lepsilon: bool = True, |
| 601 | + db_file: str = DB_FILE, |
| 602 | + parents: Union[Firework, List[Firework]] = None, |
| 603 | + user_incar_settings: Dict[str, Any] = None, |
| 604 | + pass_nm_results: bool = False, |
604 | 605 | **kwargs,
|
605 | 606 | ):
|
606 | 607 | """
|
607 |
| - Static DFPT calculation Firework |
| 608 | + Static DFPT calculation Firework |
608 | 609 |
|
609 | 610 | Args:
|
610 | 611 | structure (Structure): Input structure. If copy_vasp_outputs, used only to set the
|
|
0 commit comments