Replies: 1 comment 2 replies
|
I'll need a bit more info: which version and platform are you using, are you defining custom interactions? Also are you running this from a plain python script or from a jupyter/colab notebook? |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I was trying to use the from_pkl function to get the interaction fps saved as a pkl file. But I encountered an error.
Below shows how I generate the ifp, save the file and read the file
Could you please tell me what is the problem? Thank you!
fp = plf.Fingerprint()
ifp = plf.Fingerprint(fp.interactions)
ifp.run_from_iterable([ref_mol], protein_mol)
ifp.to_pickle(path=Path(ligdir)/"ifps"/(Path(name).with_suffix(".pkl"))
however, I cannot use
plf.Fingerprint.from_pkl('path_to_pkl.pkl')
to get the fps,
The error message I get was from
/dill/_dill.py:
obj = StockUnpickler.load(self)
UnpicklingError: state is not a dictionary
All reactions