class_docstr: Test MordredDescriptors.
docstr: Test simple descriptors with 3D info
docstr_tok: ["Test","simple","descriptors","with","3D","info"]
code: def test_mordred_descriptors_with_3D_info(self):
      """
      Test simple descriptors with 3D info
      """
      from rdkit import Chem
      from rdkit.Chem import AllChem
  
      featurizer = MordredDescriptors(ignore_3D=False)
      descriptors = featurizer([self.mol])
      assert descriptors.shape == (1, 1826)
      assert np.allclose(
          descriptors[0][780:784], np.array([0.0, 0.0, 0.0, 0.0])
      )
  
      # calculate coordinates
      mol = self.mol
      mol_with_conf = Chem.AddHs(mol)
      AllChem.EmbedMolecule(mol_with_conf, AllChem.ETKDG())
      descriptors = featurizer([mol_with_conf])
      assert descriptors.shape == (1, 1826)
      # not zero values
      assert not np.allclose(
          descriptors[0][780:784], np.array([0.0, 0.0, 0.0, 0.0])
      )
  
file_path: deepchem/deepchem/feat/tests/test_mordred_descriptors.py
imports: import numpy
  import unittest
  from deepchem.feat import MordredDescriptors
label_desc: Use image node_id 3 for calling the TestMordredDescriptors obj's underlying member method code with example usage: obj.test_mordred_descriptors_with_3D_info() without return types