Skip to content

Commit

Permalink
docs: rename arg to newer arg in documentation notebooks #389
Browse files Browse the repository at this point in the history
  • Loading branch information
a-r-j committed Jul 24, 2024
1 parent 94d832b commit 430c4ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions notebooks/ppi_graph.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1990,11 +1990,11 @@
"for n, d in g.nodes(data=True):\n",
" try:\n",
" fp = download_alphafold_structure(d['uniprot_ids'][0])[0]\n",
" pg = construct_graph(pg_config, pdb_path=fp)\n",
" \n",
" pg = construct_graph(pg_config, path=fp)\n",
"\n",
" # Add protein graph as node feature\n",
" d['protein_graph'] = pg\n",
" \n",
"\n",
" # Plot\n",
" ax = plot_protein_structure_graph(pg, label_node_ids=False, colour_nodes_by=\"residue_name\")\n",
" ax.set_title(d[\"uniprot_ids\"][0])\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/residue_graphs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
"If you wish to use a local `.pdb` file, you can run:\n",
"\n",
"```python\n",
"g = construct_graph(config=config, pdb_path=\"../graphein/examples/pdbs/3eiy.pdb\")\n",
"g = construct_graph(config=config, path=\"../graphein/examples/pdbs/3eiy.pdb\")\n",
"```"
]
},
Expand Down

0 comments on commit 430c4ad

Please sign in to comment.