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?
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?