Skip to content

Commit

Permalink
Fix notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
amorehead committed Feb 2, 2025
1 parent c6e2e07 commit d9e2f0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@
" protein_ligand_complex_filepath\n",
" ).split(\"_lig\")[0]\n",
" casp15_protein_ligand_interaction_dfs.append(casp15_protein_ligand_interaction_df)\n",
" gc.collect()\n",
" except Exception as e:\n",
" print(\n",
" f\"Error processing CASP15 target {protein_ligand_complex_filepath} due to: {e}. Skipping...\"\n",
Expand Down Expand Up @@ -362,6 +361,7 @@
" casp15_protein_ligand_interaction_dfs.append(\n",
" casp15_protein_ligand_interaction_df\n",
" )\n",
" gc.collect()\n",
" except Exception as e:\n",
" print(\n",
" f\"Error processing {method_title} target {casp15_target} due to: {e}. Skipping...\"\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/casp15_method_interaction_analysis_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ def create_temp_pdb_with_only_molecule_type_residues(
protein_ligand_complex_filepath
).split("_lig")[0]
casp15_protein_ligand_interaction_dfs.append(casp15_protein_ligand_interaction_df)
gc.collect()
except Exception as e:
print(
f"Error processing CASP15 target {protein_ligand_complex_filepath} due to: {e}. Skipping..."
Expand Down Expand Up @@ -292,6 +291,7 @@ def create_temp_pdb_with_only_molecule_type_residues(
casp15_protein_ligand_interaction_dfs.append(
casp15_protein_ligand_interaction_df
)
gc.collect()
except Exception as e:
print(
f"Error processing {method_title} target {casp15_target} due to: {e}. Skipping..."
Expand Down

0 comments on commit d9e2f0f

Please sign in to comment.