Skip to content

BUG: Return list instead of map

username-removed-473205 requested to merge AlTy/ase:read_kpoints into master

Reading reciprocal or cartesian KPOINTS file would return list of map objects instead of list of lists. Also, we only need to have a single call to set(kpts=kpts), as we will always get to that statement, in either case in the for-else statement.

As a side effect, Pyflakes found a few spaces here and there.

Merge request reports