ukaea / neutronics_material_maker

A tool for making parametric material cards for use in neutronics codes. Original developed for the Paramak
19 stars 10 forks source link

Verbose option #99

Closed shimwell closed 4 years ago

shimwell commented 4 years ago

This just adds the option to not print out all the materials on import

materials can still be found with nmm.AvailableMaterials()

Also changed a few warning statements

codecov[bot] commented 4 years ago

Codecov Report

Merging #99 into develop will increase coverage by 3.30%. The diff coverage is 91.66%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #99      +/-   ##
===========================================
+ Coverage    91.15%   94.45%   +3.30%     
===========================================
  Files            3        3              
  Lines          520      523       +3     
===========================================
+ Hits           474      494      +20     
+ Misses          46       29      -17     
Impacted Files Coverage Δ
neutronics_material_maker/mutlimaterial.py 94.18% <86.66%> (+2.51%) :arrow_up:
neutronics_material_maker/material.py 94.10% <91.66%> (+4.18%) :arrow_up:
neutronics_material_maker/utils.py 96.29% <100.00%> (+0.09%) :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 98ce00f...4e8148a. Read the comment docs.

shimwell commented 4 years ago

Still quite a lot of tidying and more tests to add, but this PR puts the repo in a better state than before