3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-22 05:02:20 +02:00

[converter] removed n_k consistency check

This commit is contained in:
Priyanka Seth 2015-03-18 10:29:14 +01:00
parent 74b676f841
commit 9585f6f482

View File

@ -399,7 +399,7 @@ class Wien2kConverter(ConverterTools):
if os.path.exists(f):
mpi.report("Reading input from %s..."%f)
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!"
for ik in xrange(n_k):
R.next()