gafusion / omas

Ordered Multidimensional Array Structure
http://gafusion.github.io/omas
MIT License
32 stars 15 forks source link

Bugfix! raise error on trying to create array index in list #71

Closed Karel-van-de-Plassche closed 5 years ago

Karel-van-de-Plassche commented 5 years ago

Before dynamic path creation of form something[9] did not raise any error. Note that this behaviour is different than when the setitem has a path instead of a key, then the parts are created and auto-filled with empty ODS structures. Adding that behaviour too in a different pull request.

codecov[bot] commented 5 years ago

Codecov Report

Merging #71 into master will increase coverage by 0.05%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #71      +/-   ##
==========================================
+ Coverage   76.76%   76.81%   +0.05%     
==========================================
  Files          23       23              
  Lines        5616     5621       +5     
==========================================
+ Hits         4311     4318       +7     
+ Misses       1305     1303       -2
Impacted Files Coverage Δ
omas/tests/test_omas_core.py 95.4% <100%> (+0.12%) :arrow_up:
omas/omas_core.py 83.16% <100%> (+0.25%) :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 76ce449...3ef15a4. Read the comment docs.