docstr: Test that a ligand molecule can be coverted to PDBQT.
docstr_tok: ["Test","that","a","ligand","molecule","can","be","coverted","to","PDBQT","."]
code: def test_convert_mol_to_pdbqt(self):
      """Test that a ligand molecule can be coverted to PDBQT."""
      from rdkit import Chem
  
      xyz, mol = rdkit_utils.load_molecule(
          self.ligand_file, calc_charges=False, add_hydrogens=False
      )
      with tempfile.TemporaryDirectory() as tmp:
          outfile = os.path.join(tmp, "mol.pdbqt")
          writer = Chem.PDBWriter(outfile)
          writer.write(mol)
          writer.close()
          pdbqt_utils.convert_mol_to_pdbqt(mol, outfile)
          pdbqt_xyz, pdbqt_mol = rdkit_utils.load_molecule(
              outfile, add_hydrogens=False, calc_charges=False
          )
      assert pdbqt_mol.GetNumAtoms() == pdbqt_mol.GetNumAtoms()
      for atom_idx in range(pdbqt_mol.GetNumAtoms()):
          atom1 = pdbqt_mol.GetAtoms()[atom_idx]
          atom2 = pdbqt_mol.GetAtoms()[atom_idx]
          assert atom1.GetAtomicNum() == atom2.GetAtomicNum()
  
file_path: deepchem/deepchem/utils/test/test_pdbqt_utils.py
imports: import unittest
  import os
  import tempfile
  from deepchem.utils import rdkit_utils
  from deepchem.utils import pdbqt_utils
label_desc: Use image node_id 3 for calling the TestPDBQTUtils obj's underlying member method code with example usage: obj.test_convert_mol_to_pdbqt() without return types