10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-23 12:55:37 +01:00

kpt loop range in nexus script

This commit is contained in:
Kevin Gasperich 2020-03-31 14:32:26 -05:00
parent 1efe61efd0
commit ee40465648

View File

@ -81,7 +81,7 @@ $system
$twistinfo $twistinfo
pwd_top = os.path.dirname(os.path.realpath(__file__)) pwd_top = os.path.dirname(os.path.realpath(__file__))
for i in range(2,3): for i in range(len(allkpts)):
jobdir=pwd_top + '/twist-{:02d}/'.format(i) jobdir=pwd_top + '/twist-{:02d}/'.format(i)
if not restart: if not restart:
os.mkdir(jobdir) os.mkdir(jobdir)