We currently use the gromacs.fileformats.XVG class for parsing out data from XVG files in the alchemlyb.parsers.gmx module. This works well, but it means GromacsWrapper is a dependency and it is not yet working under Python 3. This holds back alchemlyb from full Python 3 support.
I recommend implementing a helper function in alchemlyb.parsers.gmx that parses out the raw tabular information of an XVG file similarly to how the GromacsWrapper XVG class does this in its XVG.to_df() method. We cannot outright lift the code from GromacsWrapper due to its licensing, but we can reimplement the (minimal) functionality we need here.
We currently use the
gromacs.fileformats.XVG
class for parsing out data from XVG files in thealchemlyb.parsers.gmx
module. This works well, but it means GromacsWrapper is a dependency and it is not yet working under Python 3. This holds backalchemlyb
from full Python 3 support.I recommend implementing a helper function in
alchemlyb.parsers.gmx
that parses out the raw tabular information of an XVG file similarly to how the GromacsWrapper XVG class does this in itsXVG.to_df()
method. We cannot outright lift the code from GromacsWrapper due to its licensing, but we can reimplement the (minimal) functionality we need here.