Open kyleabeauchamp opened 11 years ago
Great idea---let's use a standard formatter!
I'm OK with using pandas if it's in the major distributions (Canopy and Anaconda) or easily installable from PyPI.
Yeah it's in both.
If we decide later that we don't like the dependency, we can go ahead and write our own formatter to eliminate the dependency.
Let's go for pandas then.
We probably won't have time to update the verbose output before the 1.0 pre-release. moving to YANK 2.0
In several places in Yank, we have code that formats various tables (e.g. TProb).
If we don't mind a Pandas dependency, we could just do this:
I already took the liberty of trying this in my Repex refactor.
If we don't do this, at the very least we should write one function that formats tables and try to re-use it as much as possible.