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

TypeError: construct_graph() got an unexpected keyword argument 'pdb_path' #389

Open
zhaoxuetong opened this issue Apr 23, 2024 · 2 comments

Comments

@zhaoxuetong
Copy link

Dear ,

I got an error message:
from graphein.protein.graphs import construct_graph
g = construct_graph(config=config, pdb_path=str(protein_path)+str(pdb_ID)+".pdb")
TypeError: construct_graph() got an unexpected keyword argument 'pdb_path'

Can you take a look at the problem for me?Thanks for your patience.

Sincerely,
Xuetong, Zhao

@a-r-j
Copy link
Owner

a-r-j commented Apr 23, 2024

Hi @zhaoxuetong I believe the pdb_path argument has been renamed to path.

@zhaoxuetong
Copy link
Author

Thank you for your patient help.

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