mirror of
https://github.com/QuantumPackage/qp2.git
synced 2025-04-27 10:44:43 +02:00
Remove loop
This commit is contained in:
parent
99ce2d7418
commit
0911a1c4de
@ -234,9 +234,7 @@ def convert_kpts_cd(filename,qph5path,qmcpack=True):
|
||||
kconserv = qph5['nuclei/kconserv'][()].tolist()
|
||||
minusk = qph5['Hamiltonian']['MinusK'][:]+1
|
||||
QKTok2 = qph5['Hamiltonian']['QPTok2'][:]+1
|
||||
unique_kpt_num = 1
|
||||
while f'L{i}' in qph5['Hamiltonian']['KPFactorized'].keys():
|
||||
unique_kpt_num += 1
|
||||
unique_kpt_num = len(qph5['Hamiltonian']['KPFactorized'])
|
||||
|
||||
ezfio.set_nuclei_kconserv(kconserv)
|
||||
ezfio.set_nuclei_io_kconserv('Read')
|
||||
|
Loading…
x
Reference in New Issue
Block a user