openforcefield / alchemiscale

a high-throughput alchemical free energy execution system for use with HPC, cloud, bare metal, and Folding@Home
https://docs.alchemiscale.org/
MIT License
23 stars 8 forks source link

Cinnabar analysis is outdated in the tutorial demo #268

Open mariacm12 opened 4 months ago

mariacm12 commented 4 months ago

I was going through the tutorial Using alchemiscale to evaluate a relative binding free energy network, and noticed that the Advanced example was assuming an older version of cinnabar. I'm not sure if this was already in the process of being fixed, but the functions used from FEMap and cinnabar_plotting were deprecated.

The following changes fixed the issue for me: fe = cinnabar.wrangle.FEMap('cinnabar_input.csv') to fe = FEMap.from_csv('cinnabar_input.csv')

And converting the graph to the "legacy" format graph = fe.to_legacy_graph(), instead of graph = fe.graph

IAlibay commented 4 months ago

@dotsdl it sounds like we're duplicating a couple of things here that have a tutorial somewhere in the standard openfe ExampleNotebooks. To avoid things going out of date in multiple places, would it make sense to maybe redirect folks at the end of that tutorial to the standard plotting tutorial?

Maybe there's some extra linking magic that could be done here, @Yoshanuikabundi might know something.