graphein icon indicating copy to clipboard operation
graphein copied to clipboard

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

Open zhaoxuetong opened this issue 1 year ago • 2 comments

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

zhaoxuetong avatar Apr 23 '24 03:04 zhaoxuetong

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

a-r-j avatar Apr 23 '24 10:04 a-r-j

Thank you for your patient help.

zhaoxuetong avatar Apr 30 '24 09:04 zhaoxuetong