rs-station / careless

Merge X-ray diffraction data with Wilson's priors, variational inference, and metadata
MIT License
16 stars 6 forks source link

Fix Harmonics Wavelength #138

Closed kmdalton closed 1 year ago

kmdalton commented 1 year ago

I believe there may have been a bug in determining the wavelengths of harmonics. This is a potential fix.

codecov-commenter commented 1 year ago

Codecov Report

Merging #138 (27d55b6) into main (4f25d47) will increase coverage by 0.05%. Report is 1 commits behind head on main. The diff coverage is 95.45%.

:exclamation: Current head 27d55b6 differs from pull request most recent head 5ee77f8. Consider uploading reports for the commit 5ee77f8 to get more accurate results

@@            Coverage Diff             @@
##             main     #138      +/-   ##
==========================================
+ Coverage   79.09%   79.14%   +0.05%     
==========================================
  Files          52       52              
  Lines        2353     2340      -13     
==========================================
- Hits         1861     1852       -9     
+ Misses        492      488       -4     
Flag Coverage Δ
unittests 79.14% <95.45%> (+0.05%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
careless/utils/laue.py 93.10% <94.73%> (+5.29%) :arrow_up:
careless/io/formatter.py 90.68% <100.00%> (-0.04%) :arrow_down:

... and 1 file with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more