erwanp / qtplaskin

A graphical tool to explore ZdPlaskin Results
GNU Lesser General Public License v3.0
7 stars 5 forks source link

Correction two-letters atoms problem (issue #13) #14

Closed maillardj closed 3 years ago

maillardj commented 4 years ago
  1. Modification in database.py to prevent failure when molar mass is unknown. I add a test.

  2. Modification in modeldata.py to be able to recognize two-letters atoms. No test yet.

codecov[bot] commented 4 years ago

Codecov Report

Merging #14 into master will increase coverage by 1.52%. The diff coverage is 96.42%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
+ Coverage   22.40%   23.93%   +1.52%     
==========================================
  Files          18       19       +1     
  Lines        1754     1780      +26     
==========================================
+ Hits          393      426      +33     
+ Misses       1361     1354       -7     
Impacted Files Coverage Δ
test/test_two_letters_atom_failure.py 92.85% <92.85%> (ø)
qtplaskin/database.py 87.09% <100.00%> (+7.93%) :arrow_up:
qtplaskin/modeldata.py 39.71% <100.00%> (+1.18%) :arrow_up:
test/test_02.py 100.00% <0.00%> (+18.75%) :arrow_up:

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 85fd959...d750d22. Read the comment docs.

erwanp commented 4 years ago

Thanks for submitting.

Nice for the tests. However they did not execute in the Travis CI build:

erwanp commented 4 years ago

Hello. I left a last comment. Also, did you manage to reduce the qt_rates.txt & qt_densities.txt size to less than a few hundred lines?

erwanp commented 4 years ago

@maillardj any update on the test files, so we can merge?

erwanp commented 3 years ago

Fixed in #16