File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -2212,17 +2212,13 @@ def print_pfd_results(m):
22122212 tag_formats = {}
22132213 for i , s in sd .items ():
22142214 tags [i + "_Fmass" ] = s .flow_mass
2215- tag_formats [i + "_Fmass" ] = lambda x : (
2216- "{:.1f}" if x >= 10 else "{:.2f}"
2217- )
2215+ tag_formats [i + "_Fmass" ] = lambda x : ("{:.1f}" if x >= 10 else "{:.2f}" )
22182216 tags [i + "_F" ] = s .flow_mol
22192217 tag_formats [i + "_F" ] = "{:,.0f}"
22202218 tags [i + "_T" ] = s .temperature
22212219 tag_formats [i + "_T" ] = "{:,.0f}"
22222220 tags [i + "_P_kPa" ] = s .pressure
2223- tag_formats [i + "_P_kPa" ] = lambda x : (
2224- "{:,.0f}" if x >= 100 else "{:.2f}"
2225- )
2221+ tag_formats [i + "_P_kPa" ] = lambda x : ("{:,.0f}" if x >= 100 else "{:.2f}" )
22262222 try :
22272223 tags [i + "_hmass" ] = s .enth_mass
22282224 tag_formats [i + "_hmass" ] = "{:,.0f}"
You can’t perform that action at this time.
0 commit comments