Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in tdc_developability.ipynb notebook #400

Open
velocirraptor23 opened this issue Jun 17, 2024 · 1 comment
Open

Error in tdc_developability.ipynb notebook #400

velocirraptor23 opened this issue Jun 17, 2024 · 1 comment

Comments

@velocirraptor23
Copy link

I was trying to follow this notebook but in the part for training (Creating Datasets) I got this error:

File /cluster/ddu/cmmartinez001/graphein/notebooks/../graphein/ml/conversion.py:274, in GraphFormatConvertor.convert_nx_to_pyg(self, G)
264 """
265 Converts NetworkX graph to pytorch_geometric.data.Data object. Requires PyTorch Geometric (https://pytorch-geometric.readthedocs.io/en/latest/) to be installed.
266
(...)
270 :rtype: pytorch_geometric.data.Data
271 """
273 # Initialise dict used to construct Data object & Assign node ids as a feature
--> 274 data = {"node_id": list(G.nodes())}
275 G = nx.convert_node_labels_to_integers(G)
277 # Construct Edge Index

AttributeError: 'NoneType' object has no attribute 'nodes'

I think I instaled everything but I am not sure why i got this.

BW,

Cesar

@a-r-j
Copy link
Owner

a-r-j commented Sep 16, 2024

Could you narrow down which PDB id is failing? I suspect this is related to #409 through deprecation of a PDB accession.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants