Replies: 1 comment
-
|
The fact that we default to EDR and then try:
self.collect(stride=stride, autosave=False)
except IOError as err:
if err.errno == errno.ENOENT:
self.convert_edr()
self.collect(stride=stride, autosave=False)
else:
logger.exception(err)
raisewould be better in
In short, the easiest thing would be to remove the Ultimately, exactly the same thing happens with (Sidenote: A while back we switched to using EDR files by default because they are more compact. Unfortunately, we still do what seems a waste, namely, converting EDR free energy data to XVG because we haven't implemented an actually EDR reader (with It would also be really good if someone found the time to add a EDR reader to alchemlyb alchemistry/alchemlyb#67 because then we wouldn't need to do the conversion.) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The docs suggest using
.collect()and.analyze(), but there's a couple of issues as far as I can tell:Gsolv.setup(), usingedr=True, sets the.mdpoptionseparate-dhdl-file = no. There are therefore no.xvgfiles produced.dgdl_xvg()function looks for a file whose name is<deffnm>.xvg, swapping out the bit in tags, but the default name for the file produced when using-dhdlisdhdl.xvg.I've switched to using the
alchemlybimplementation of these functions, but it would be good to know if I was doing something wrong and to update the above example if not.PS I can see that
analyze()handles theIOErrorthrown bydgdl_xvg()and looks for the.edrfile instead. Maybe I'm not supposed to call.collect()before.analyze()?Beta Was this translation helpful? Give feedback.
All reactions