Open mariacm12 opened 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.
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')
tofe = FEMap.from_csv('cinnabar_input.csv')
And converting the graph to the "legacy" format
graph = fe.to_legacy_graph()
, instead ofgraph = fe.graph