materialsproject / pymatgen

Python Materials Genomics (pymatgen) is a robust materials analysis code that defines classes for structures and molecules with support for many electronic structure codes. It powers the Materials Project.
https://pymatgen.org
Other
1.52k stars 867 forks source link

Avoid using full equality (`==`) to compare float, avoid `assert_array_equal` compare float array #4159

Open DanielYang59 opened 1 week ago

DanielYang59 commented 1 week ago

Summary