class_docstr: Does sanity checks on binding pocket generation.
class_docstr_tok: ["Does","sanity","checks","on","binding","pocket","generation","."]
docstr: Test that computed pockets have strong overlap with true binding pocket.
docstr_tok: ["Test","that","computed","pockets","have","strong","overlap","with","true","binding","pocket","."]
code: def test_extract_active_site(self):
      """Test that computed pockets have strong overlap with true binding pocket."""
      current_dir = os.path.dirname(os.path.realpath(__file__))
      protein_file = os.path.join(current_dir, "1jld_protein.pdb")
      ligand_file = os.path.join(current_dir, "1jld_ligand.sdf")
  
      (
          active_site_box,
          active_site_coords,
      ) = dc.dock.binding_pocket.extract_active_site(
          protein_file, ligand_file
      )
  
      assert isinstance(active_site_box, box_utils.CoordinateBox)
      assert isinstance(active_site_coords, np.ndarray)
  
file_path: deepchem/deepchem/dock/tests/test_binding_pocket.py
imports: import os
  import logging
  import unittest
  import numpy
  import deepchem
  from deepchem.utils import rdkit_utils
  from deepchem.utils import coordinate_box_utils
label_desc: Use image node_id 4 for calling the TestBindingPocket obj's underlying member method code with example usage: obj.test_extract_active_site() without return types