Skip to content

Commit 326cdf6

Browse files
authored
Merge pull request #342 from njzjz/restart2
fix typo
2 parents 9ae6d6c + 2a7c471 commit 326cdf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpgen/generator/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ def run_model_devi (iter_index,
10221022

10231023
all_task = glob.glob(os.path.join(work_path, "task.*"))
10241024
all_task.sort()
1025-
command = "{ if [ ! -f restart.dpgen.10000 ]; then %s -i input.lammps -v restart 0; else %s -i input.lammps -v restart 1; fi }" % (lmp_exec, lmp_exec)
1025+
command = "{ if [ ! -f dpgen.restart.10000 ]; then %s -i input.lammps -v restart 0; else %s -i input.lammps -v restart 1; fi }" % (lmp_exec, lmp_exec)
10261026
commands = [command]
10271027

10281028
fp = open (os.path.join(work_path, 'cur_job.json'), 'r')

0 commit comments

Comments
 (0)