File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
from manager_tools import resolve_status , update_attributes
2
- from autopyscf import PySCFReader
2
+ from autopyscf import PySCFReader , dm_from_chkfile
3
3
from autorunner import PySCFRunnerPBS
4
4
import os
5
+ import shutil as sh
5
6
import pickle as pkl
6
7
import pyscf2qwalk
7
8
from autopaths import paths
@@ -116,7 +117,7 @@ def nextstep(self):
116
117
sh .copy (self .outfile ,"%d.%s" % (self .restarts ,self .outfile ))
117
118
sh .copy (self .chkfile ,"%d.%s" % (self .restarts ,self .chkfile ))
118
119
if os .path .exists (self .chkfile ):
119
- self .writer .dm_generator = PySCF . dm_from_chkfile ("%d.%s" % (self .restarts ,self .chkfile ))
120
+ self .writer .dm_generator = dm_from_chkfile ("%d.%s" % (self .restarts ,self .chkfile ))
120
121
self .writer .pyscf_input (self .driverfn ,self .chkfile )
121
122
self .runner .add_task ("/usr/bin/python3 %s > %s" % (self .driverfn ,self .outfile ))
122
123
self .restarts += 1
You can’t perform that action at this time.
0 commit comments