pyxem / diffsims

An open-source Python library providing utilities for simulating diffraction
https://diffsims.readthedocs.io
GNU General Public License v3.0
46 stars 26 forks source link

Loosen angle tolerance in DiffractionLibrary.get_library_entry() from 1e-5 to 1e-2 #185

Closed hakonanes closed 2 years ago

hakonanes commented 2 years ago

Description of the change

Fix #173.

Also changed three diffraction library tests raising errors to also check for the specific error message.

Note that the one line that is not covered in this PR is covered in #182.

Progress of the PR

For reviewers