class_docstr: Does sanity checks on pose generation.
class_docstr_tok: ["Does","sanity","checks","on","pose","generation","."]
docstr: Test that VinaPoseGenerator generates poses.
  
  This test takes some time to run, about a minute and a half on
  development laptop.
docstr_tok: ["Test","that","VinaPoseGenerator","generates","poses",".","This","test","takes","some","time","to","run",",","about","a","minute","and","a","half","on","development","laptop","."]
code: def test_vina_poses_no_scores(self):
      """Test that VinaPoseGenerator generates poses.
  
      This test takes some time to run, about a minute and a half on
      development laptop.
      """
      # Let's turn on logging since this test will run for a while
      logging.basicConfig(level=logging.INFO)
      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")
  
      vpg = dc.dock.VinaPoseGenerator(pocket_finder=None)
      with tempfile.TemporaryDirectory() as tmp:
          poses = vpg.generate_poses(
              (protein_file, ligand_file),
              exhaustiveness=1,
              num_modes=1,
              out_dir=tmp,
              generate_scores=False,
          )
  
      assert len(poses) == 1
      protein, ligand = poses[0]
      from rdkit import Chem
  
      assert isinstance(protein, Chem.Mol)
      assert isinstance(ligand, Chem.Mol)
  
file_path: deepchem/deepchem/dock/tests/test_pose_generation.py
imports: import os
  import platform
  import tempfile
  import unittest
  import logging
  import numpy
  import deepchem
  import pytest
label_desc: Use image node_id 6 for calling the TestPoseGeneration obj's underlying member method code with example usage: obj.test_vina_poses_no_scores() without return types