gafusion / omas

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

unittest for omas_physics #31

Closed eldond closed 6 years ago

eldond commented 6 years ago
eldond commented 6 years ago

@orso82 This doesn't work yet because omas_physics.core_profiles_pressures seems to look for parallel or perpendicular pressure data before they're defined. Maybe you can take a look?

codecov[bot] commented 6 years ago

Codecov Report

Merging #31 into master will increase coverage by 5.71%. The diff coverage is 95.81%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #31      +/-   ##
==========================================
+ Coverage   63.99%   69.71%   +5.71%     
==========================================
  Files          17       19       +2     
  Lines        3669     3850     +181     
==========================================
+ Hits         2348     2684     +336     
+ Misses       1321     1166     -155
Impacted Files Coverage Δ
omas/tests/test_omas_plot.py 98.42% <ø> (ø) :arrow_up:
omas/omas_sample.py 98.77% <100%> (+0.02%) :arrow_up:
omas/omas_utils.py 68.42% <100%> (+25.65%) :arrow_up:
omas/tests/test_omas_physics.py 89.83% <89.83%> (ø)
omas/tests/test_omas_utils.py 98.3% <98.3%> (ø)
omas/omas_core.py 63.94% <0%> (+1.05%) :arrow_up:
omas/omas_physics.py 51.67% <0%> (+30.11%) :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 5e33f24...45b2d77. Read the comment docs.