idaes-pse icon indicating copy to clipboard operation
idaes-pse copied to clipboard

get_prop has incorrect default components

Open dallan-keylogic opened this issue 6 months ago • 1 comments
trafficstars

As noted in #1613 , get_prop for the natural_gas_pr.py properties in models_extra incorrectly writes:

    if components is None:
        components = list(_component_params.keys())

for the default components. The correct statement is

    if components is None:
        components = list( comp for comp in _component_params.keys())

This error should be remedied and a test should be added.

dallan-keylogic avatar Apr 24 '25 21:04 dallan-keylogic