mirror of
https://github.com/triqs/dft_tools
synced 2024-12-22 04:13:47 +01:00
[converter] removed n_k consistency check
This commit is contained in:
parent
74b676f841
commit
9585f6f482
@ -399,7 +399,7 @@ class Wien2kConverter(ConverterTools):
|
|||||||
if os.path.exists(f):
|
if os.path.exists(f):
|
||||||
mpi.report("Reading input from %s..."%f)
|
mpi.report("Reading input from %s..."%f)
|
||||||
R = ConverterTools.read_fortran_file(self, f, self.fortran_to_replace)
|
R = ConverterTools.read_fortran_file(self, f, self.fortran_to_replace)
|
||||||
assert int(R.next()) == n_k, "convert_misc_input: Number of k-points is inconsistent in oubwin file!"
|
R.next()
|
||||||
assert int(R.next()) == SO, "convert_misc_input: SO is inconsistent in oubwin file!"
|
assert int(R.next()) == SO, "convert_misc_input: SO is inconsistent in oubwin file!"
|
||||||
for ik in xrange(n_k):
|
for ik in xrange(n_k):
|
||||||
R.next()
|
R.next()
|
||||||
|
Loading…
Reference in New Issue
Block a user