class_docstr: Test AtomicCoordinates.
class_docstr_tok: ["Test","AtomicCoordinates","."]
docstr: Test Neighbor List computation on protein-ligand complex.
docstr_tok: ["Test","Neighbor","List","computation","on","protein-ligand","complex","."]
code: def test_complex_featurization_simple(self):
      """Test Neighbor List computation on protein-ligand complex."""
      dir_path = os.path.dirname(os.path.realpath(__file__))
      ligand_file = os.path.join(dir_path, "data/3zso_ligand_hyd.pdb")
      protein_file = os.path.join(dir_path, "data/3zso_protein.pdb")
      max_num_neighbors = 4
      complex_featurizer = NeighborListComplexAtomicCoordinates(
          max_num_neighbors
      )
  
      (
          system_coords,
          system_neighbor_list,
      ) = complex_featurizer._featurize((ligand_file, protein_file))
  
      N = system_coords.shape[0]
      assert len(system_neighbor_list.keys()) == N
      for atom in range(N):
          assert len(system_neighbor_list[atom]) <= max_num_neighbors
  
file_path: deepchem/deepchem/feat/tests/test_atomic_coordinates.py
imports: import os
  import logging
  import numpy
  import unittest
  from deepchem.utils import conformers
  from deepchem.feat import AtomicCoordinates
  from deepchem.feat import NeighborListAtomicCoordinates
  from deepchem.feat import NeighborListComplexAtomicCoordinates
label_desc: Use image node_id 7 for calling the TestAtomicCoordinates obj's underlying member method code with example usage: obj.test_complex_featurization_simple() without return types