mirror of https://github.com/QMCPACK/qmcpack.git
nexus: fix file matching
This commit is contained in:
parent
e2144a8ab9
commit
f4f91aeae8
|
@ -512,7 +512,7 @@ class Qmcpack(Simulation):
|
|||
kpoints = s.kpoints.copy()
|
||||
kpoints_qmcpack = s.kpoints_qmcpack()
|
||||
for file in input.filenames:
|
||||
if file.startswith('qmc.g'):
|
||||
if file.startswith(self.identifier+'.g'):
|
||||
tokens = file.split('.')
|
||||
twist_index = int(tokens[1].replace('g',''))
|
||||
twist_filename = '{}.{}.twist_info.dat'.format(tokens[0],tokens[1])
|
||||
|
|
Loading…
Reference in New Issue