Closed mcgibbon closed 6 years ago
Such a feature would be only possible if the constant with the given name already exists in the library. I don't see how it could work for arbitrary constants. Is that what you were hoping it does?
Makes sure our unit handling library doesn't raise an exception when given those units. That they are actually a unit and not a random string or a typo.
New PR should address this.
Closed by #13
Currently set_constant is only a light wrapper that sets constants in the default_constant dictionary. It would be nice if it also warned users (with an exception) when they give invalid units.