a-r-j / graphein

Protein Graph Library
https://graphein.ai/
MIT License
994 stars 125 forks source link

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

Open zhaoxuetong opened 2 months ago

zhaoxuetong commented 2 months ago

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 commented 2 months ago

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

zhaoxuetong commented 2 months ago

Thank you for your patient help.