You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One option for supporting units is to apply astropy's unit module. When initiating the JANAF (or burcat, or other db) there can be an optional parameter to add units to returned values. Then an if statement on the output would add units only if this optional flag is set to true. It would default to false to provide backward compatibility. Thoughts?
The text was updated successfully, but these errors were encountered:
I think that's a good idea more generally to ensure that units are being used in a consistent way. I would rather use a unit library that has fewer dependencies than astropy though given the limited overlap, maybe something like pint or something similar.
One option for supporting units is to apply astropy's unit module. When initiating the JANAF (or burcat, or other db) there can be an optional parameter to add units to returned values. Then an if statement on the output would add units only if this optional flag is set to true. It would default to false to provide backward compatibility. Thoughts?
The text was updated successfully, but these errors were encountered: