mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Empty formulas (pseudo-pures for instance) show up as not applicable now
This commit is contained in:
@@ -140,7 +140,11 @@ class FluidInfoTableGenerator(object):
|
||||
|
||||
CAS = CoolProp.CoolProp.get_fluid_param_string(self.name, "CAS")
|
||||
ASHRAE = CoolProp.CoolProp.get_fluid_param_string(self.name, "ASHRAE34")
|
||||
formula = ':math:`' + CoolProp.CoolProp.get_fluid_param_string(self.name, "formula") + '`'
|
||||
formula = CoolProp.CoolProp.get_fluid_param_string(self.name, "formula")
|
||||
if formula:
|
||||
formula = ':math:`' + formula + '`'
|
||||
else:
|
||||
formulat = 'Not applicable'
|
||||
|
||||
# Generate (or not) the reducing data
|
||||
reducing_data = ''
|
||||
|
||||
Reference in New Issue
Block a user