Skip to content

Commit a5ff517

Browse files
authored
Merge pull request #737 from janosh/stuff
Stuff
2 parents 7ec759b + 44ef28f commit a5ff517

File tree

65 files changed

+1024
-834
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+1024
-834
lines changed

atomate/common/firetasks/glue_tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def run_task(self, fw_spec):
231231
if self.get("relative_path", True):
232232
new_dir = os.path.join(os.getcwd(), self["folder_name"])
233233
else:
234-
new_dir = os.path.join(self["folder_name"])
234+
new_dir = self["folder_name"]
235235
if not os.path.exists(new_dir):
236236
os.makedirs(new_dir)
237237
if self.get("change_dir", False):

atomate/common/firetasks/tests/test_glue_tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
__author__ = "Anubhav Jain <[email protected]>"
2020

21-
module_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)))
21+
module_dir = os.path.dirname(os.path.abspath(__file__))
2222
db_dir = os.path.join(module_dir, "..", "..", "test_files")
2323

2424

atomate/common/firetasks/tests/test_parse_outputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
__author__ = "Shyam Dwaraknath <[email protected]>"
1212

13-
module_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)))
13+
module_dir = os.path.dirname(os.path.abspath(__file__))
1414
db_dir = os.path.join(module_dir, "..", "..", "test_files")
1515

1616

atomate/feff/firetasks/tests/test_tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
__author__ = "Kiran Mathew"
1414
__email__ = "[email protected]"
1515

16-
module_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)))
16+
module_dir = os.path.dirname(os.path.abspath(__file__))
1717
db_dir = os.path.join(module_dir, "..", "..", "..", "common", "test_files")
1818

1919

atomate/feff/fireworks/tests/test_fireworks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
__author__ = "Kiran Mathew"
1010
__email__ = "[email protected]"
1111

12-
module_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)))
12+
module_dir = os.path.dirname(os.path.abspath(__file__))
1313
db_dir = os.path.join(module_dir, "..", "..", "..", "common", "test_files")
1414

1515

atomate/feff/workflows/tests/test_eels_workflows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
__author__ = "Kiran Mathew"
1313
__email__ = "[email protected]"
1414

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

atomate/feff/workflows/tests/test_exafs_scattering_paths.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
__author__ = "Kiran Mathew"
99
__email__ = "[email protected]"
1010

11-
module_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)))
11+
module_dir = os.path.dirname(os.path.abspath(__file__))
1212
db_dir = os.path.join(module_dir, "..", "..", "..", "common", "test_files")
1313

1414

atomate/feff/workflows/tests/test_xas_workflows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
__author__ = "Kiran Mathew"
1414
__email__ = "[email protected]"
1515

16-
module_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)))
16+
module_dir = os.path.dirname(os.path.abspath(__file__))
1717
db_dir = os.path.join(module_dir, "..", "..", "..", "common", "test_files")
1818

1919
DEBUG_MODE = (

atomate/lammps/tests/test_drone.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
__author__ = "Kiran Mathew"
1212
__email__ = "[email protected]"
1313

14-
module_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)))
14+
module_dir = os.path.dirname(os.path.abspath(__file__))
1515
db_dir = os.path.join(module_dir, "..", "..", "common", "test_files")
1616

1717
LAMMPS_CMD = None # "lmp_serial"

atomate/lammps/tests/test_workflows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
__author__ = "Kiran Mathew, Brandon Wood"
1313
1414

15-
module_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)))
15+
module_dir = os.path.dirname(os.path.abspath(__file__))
1616
db_dir = os.path.join(module_dir, "..", "..", "common", "test_files")
1717

1818
LAMMPS_CMD = None # "mpirun -n 4 lmp_mpi"

0 commit comments

Comments
 (0)