materialsintelligence / propnet

A knowledge graph for Materials Science.
Other
72 stars 23 forks source link

Add support for numerical constants #270

Open clegaspi opened 5 years ago

clegaspi commented 5 years ago

Add support for specifying constants like Planck's constant in EquationModel equations, so units work automatically and it cleans up unnecessary numbers from equations. Also supports specifying custom constants with dimensions so that units work automatically and there will be less need for "units_for_evaluation".

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-0.04%) to 80.433% when pulling 535ce854142c62480a511e003b00afa7953703b2 on constants_support into 3867b519125d55c1b882c6ff7bbe9decb4ea8583 on master.