Skip to content

Commit 2ba5368

Browse files
committed
fix typo taks->task
1 parent 0911d1f commit 2ba5368

14 files changed

+45
-67
lines changed

atomate/feff/workflows/tests/test_eels_workflows.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@
1414

1515
module_dir = os.path.dirname(os.path.abspath(__file__))
1616
db_dir = os.path.join(module_dir, "..", "..", "..", "common", "test_files")
17-
DEBUG_MODE = (
18-
False # If true, retains the database and output dirs at the end of the test
19-
)
17+
# If DEBUG_MODE = true, retains the database and output dirs at the end of the test
18+
DEBUG_MODE = False
2019

2120

2221
class TestEELSWorkflow(AtomateTest):

atomate/feff/workflows/tests/test_xas_workflows.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
module_dir = os.path.dirname(os.path.abspath(__file__))
1717
db_dir = os.path.join(module_dir, "..", "..", "..", "common", "test_files")
1818

19-
DEBUG_MODE = (
20-
False # If true, retains the database and output dirs at the end of the test
21-
)
19+
# If DEBUG_MODE = true, retains the database and output dirs at the end of the test
20+
DEBUG_MODE = False
2221
FEFF_CMD = None # "feff"
2322

2423

atomate/utils/testing.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@
1414
MODULE_DIR = os.path.dirname(os.path.abspath(__file__))
1515
DB_DIR = os.path.join(MODULE_DIR, "..", "common", "test_files")
1616

17-
DEBUG_MODE = (
18-
False # If true, retains the database and output dirs at the end of the test
19-
)
20-
VASP_CMD = (
21-
None # If None, runs a "fake" VASP. Otherwise, runs VASP with this command...
22-
)
17+
# If DEBUG_MODE = true, retains the database and output dirs at the end of the test
18+
DEBUG_MODE = False
19+
# If None, runs a "fake" VASP. Otherwise, runs VASP with this command...
20+
VASP_CMD = None
2321

2422

2523
class AtomateTest(unittest.TestCase):

atomate/vasp/firetasks/electrode_tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
3030
Note:
3131
The workflow passes data to fw_spec extensively and requires specific fields in the spec to be updated.
32-
Example, the base_taks_id must be stored and the spec and updated as the workflow runs so you have to set
32+
Example, the base_task_id must be stored and the spec and updated as the workflow runs so you have to set
3333
```
3434
{
3535
"store_volumetric_data": vasptodb_kwargs_vol_data[volumetric_data_type],

atomate/vasp/firetasks/tests/test_polarization_to_db.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@
1515
DEBUG_MODE = (
1616
True # If true, retains the database and output dirs at the end of the test
1717
)
18-
VASP_CMD = (
19-
None # If None, runs a "fake" VASP. Otherwise, runs VASP with this command...
20-
)
18+
# If None, runs a "fake" VASP. Otherwise, runs VASP with this command...
19+
VASP_CMD = None
2120

2221

2322
class TestFerroelectricWorkflow(AtomateTest):

atomate/vasp/fireworks/tests/test_fireworks_core.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,10 @@
2424
db_dir = os.path.join(module_dir, "..", "..", "..", "common", "test_files")
2525
reference_dir = os.path.join(module_dir, "..", "..", "test_files")
2626

27-
DEBUG_MODE = (
28-
False # If true, retains the database and output dirs at the end of the test
29-
)
30-
VASP_CMD = (
31-
None # If None, runs a "fake" VASP. Otherwise, runs VASP with this command...
32-
)
27+
# If DEBUG_MODE = true, retains the database and output dirs at the end of the test
28+
DEBUG_MODE = False
29+
# If None, runs a "fake" VASP. Otherwise, runs VASP with this command...
30+
VASP_CMD = None
3331

3432

3533
class TestCoreFireworks(unittest.TestCase):

atomate/vasp/fireworks/tests/test_nmr.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@
1414
db_dir = os.path.join(module_dir, "..", "..", "..", "common", "test_files")
1515
reference_dir = os.path.join(module_dir, "..", "..", "test_files")
1616

17-
DEBUG_MODE = (
18-
False # If true, retains the database and output dirs at the end of the test
19-
)
20-
VASP_CMD = (
21-
None # If None, runs a "fake" VASP. Otherwise, runs VASP with this command...
22-
)
17+
# If DEBUG_MODE = true, retains the database and output dirs at the end of the test
18+
DEBUG_MODE = False
19+
# If None, runs a "fake" VASP. Otherwise, runs VASP with this command...
20+
VASP_CMD = None
2321

2422

2523
class TestNMRFireworks(unittest.TestCase):

atomate/vasp/workflows/tests/test_adsorbate_workflow.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,10 @@
2424
db_dir = os.path.join(module_dir, "..", "..", "..", "common", "test_files")
2525
ref_dir = os.path.join(module_dir, "..", "..", "test_files")
2626

27-
DEBUG_MODE = (
28-
False # If true, retains the database and output dirs at the end of the test
29-
)
30-
VASP_CMD = (
31-
None # If None, runs a "fake" VASP. Otherwise, runs VASP with this command...
32-
)
27+
# If DEBUG_MODE = true, retains the database and output dirs at the end of the test
28+
DEBUG_MODE = False
29+
# If None, runs a "fake" VASP. Otherwise, runs VASP with this command...
30+
VASP_CMD = None
3331

3432

3533
class TestAdsorptionWorkflow(AtomateTest):

atomate/vasp/workflows/tests/test_bulk_modulus_workflow.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@
1818
db_dir = os.path.join(module_dir, "..", "..", "..", "common", "test_files")
1919
reference_dir = os.path.join(module_dir, "..", "..", "test_files", "bulk_modulus_wf")
2020

21-
DEBUG_MODE = (
22-
False # If True, retains the database and output dirs at the end of the test
23-
)
24-
VASP_CMD = (
25-
None # If None, runs a "fake" VASP. Otherwise, runs VASP with this command...
26-
)
21+
# If DEBUG_MODE = true, retains the database and output dirs at the end of the test
22+
DEBUG_MODE = False
23+
# If None, runs a "fake" VASP. Otherwise, runs VASP with this command...
24+
VASP_CMD = None
2725
_write_task_docs = (
2826
False # Test developer option: defaults to False, need to be True only once
2927
)

atomate/vasp/workflows/tests/test_elastic_workflow.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,10 @@
2626
db_dir = os.path.join(module_dir, "..", "..", "..", "common", "test_files")
2727
ref_dir = os.path.join(module_dir, "..", "..", "test_files")
2828

29-
DEBUG_MODE = (
30-
False # If true, retains the database and output dirs at the end of the test
31-
)
32-
VASP_CMD = (
33-
None # If None, runs a "fake" VASP. Otherwise, runs VASP with this command...
34-
)
29+
# If DEBUG_MODE = true, retains the database and output dirs at the end of the test
30+
DEBUG_MODE = False
31+
# If None, runs a "fake" VASP. Otherwise, runs VASP with this command...
32+
VASP_CMD = None
3533

3634

3735
class TestElasticWorkflow(AtomateTest):

0 commit comments

Comments
 (0)