Skip to content

Commit 4a9651b

Browse files
committed
Fix bug in jobname generation.
1 parent f0110c0 commit 4a9651b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/create_inputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
f.write(kpt_content)
8686

8787
# Get content line list.
88-
jobname = output.split('.')[0]
88+
jobname = ".".join(output.split('.')[: -1])
8989
with open('vasp.script', 'r') as f:
9090
content_list = f.readlines()
9191

0 commit comments

Comments
 (0)