jcaiuwyo / cantera

Automatically exported from code.google.com/p/cantera
0 stars 0 forks source link

Incorrect formatting for phase.report() with show_thermo=False #190

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. print(phase.report(show_thermo=False)) where phase is any Solution

What is the expected output? What do you see instead?
The correct formatting would have the X and Y column headers properly centered 
over their dividers. Instead, the X and Y are next to each other.

What version of the product are you using? On what operating system?
version 2.1, python interface (although I suspect this will show up on any 
interface)

Please provide any additional information below.
Seems that adding some spaces before "Y\n" on line 970 of 
/src/thermo/ThermoPhase.cpp would fix the problem.

Original issue reported on code.google.com by bryan.w....@gmail.com on 4 Dec 2013 at 2:51

GoogleCodeExporter commented 9 years ago

Original comment by yarmond on 4 Dec 2013 at 7:40

GoogleCodeExporter commented 9 years ago
Fixed in r2582.

Original comment by yarmond on 6 Dec 2013 at 11:19