Skip to content

Commit

Permalink
notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
tabbassidaloii committed Jan 31, 2025
1 parent 6102b51 commit 4114d09
Show file tree
Hide file tree
Showing 3 changed files with 114,354 additions and 6 deletions.
14 changes: 8 additions & 6 deletions examples/usecases/PCS/01_PCS_graph_workflow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1086,9 +1086,10 @@
")\n",
"\n",
"if not os.path.exists(opentargets_dc_pickle_path):\n",
" opentargets_disease_compound_df, opentargets_disease_compound_metadata = (\n",
" opentargets.get_disease_compound_interactions(disease_mapping_df, cache_pubchem_cid=True)\n",
" )\n",
" (\n",
" opentargets_disease_compound_df,\n",
" opentargets_disease_compound_metadata,\n",
" ) = opentargets.get_disease_compound_interactions(disease_mapping_df, cache_pubchem_cid=True)\n",
"\n",
" opentargets_disease_compound_df.to_pickle(opentargets_dc_pickle_path)\n",
" with open(opentargets_dc_metadata_path, \"wb\") as file:\n",
Expand Down Expand Up @@ -1218,9 +1219,10 @@
")\n",
"\n",
"if not os.path.exists(opentargets_gc_pickle_path):\n",
" opentargets_gene_compound_df, opentargets_gene_compound_metadata = (\n",
" opentargets.get_gene_compound_interactions(bridgedb_df)\n",
" )\n",
" (\n",
" opentargets_gene_compound_df,\n",
" opentargets_gene_compound_metadata,\n",
" ) = opentargets.get_gene_compound_interactions(bridgedb_df)\n",
"\n",
" opentargets_gene_compound_df.to_pickle(opentargets_gc_pickle_path)\n",
" with open(opentargets_gc_metadata_path, \"wb\") as file:\n",
Expand Down
Loading

0 comments on commit 4114d09

Please sign in to comment.