Skip to content

phonons.py: BUG in get_band_structure method and MAINT

Stefan Bringuier requested to merge stefanbringuier/ase:patch_1 into master

Checklist

Description

BUG: Improper assert.

MAINT: Add proper return control.

There was a faulty assert 0 statement in control check for modes variable. Additionally, if modes was set to True no value was returned. These have been fixed and added short description of the method.

New unit test in ase/test/test_phonons.py for get_band_structure method of Phonons. All 5 test passed.

Merge request reports