aiida-vasp / parsevasp

A general parser for VASP
MIT License
13 stars 13 forks source link

Fixed tetra is None if not found #89

Closed espenfl closed 2 years ago

espenfl commented 2 years ago

Here we fix a bug which caused the tetra key to be an empty list if tetrahedron information was not found in the KPOINTS. This later cased the write to fail for instance.

codecov[bot] commented 2 years ago

Codecov Report

Merging #89 (5e52684) into develop (9b7170e) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop      #89   +/-   ##
========================================
  Coverage    80.13%   80.13%           
========================================
  Files           12       12           
  Lines         3330     3330           
========================================
  Hits          2668     2668           
  Misses         662      662           
Impacted Files Coverage Δ
parsevasp/kpoints.py 70.42% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9b7170e...5e52684. Read the comment docs.