Skip to content

Commit

Permalink
Update comment for mixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ibell committed Aug 8, 2023
1 parent 099264a commit c00a194
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions GUI/panels/pdsim_panels.py
Original file line number Diff line number Diff line change
Expand Up @@ -2270,10 +2270,9 @@ def OnChangeUnits(self, event):

# Add predefined mixtures from the HEOS backend
HEOS_predef_mixtures = sorted(CP.get_global_param_string('predefined_mixtures').split(','))
# Filter to the ones with .MIX extension
# Filter to the ones with .MIX extension (CoolProp has upper-cased and mixed-cased ones)
HEOS_predef_mixtures = [m for m in HEOS_predef_mixtures if '.MIX' in m]


self.Fluids.AppendItems(HEOS_predef_mixtures)

self.Fluids.SetEditable(False)
Expand Down

0 comments on commit c00a194

Please sign in to comment.