class_docstr: Test for `use_original_atoms_order` boolean condition added to `MolecularFeaturizer` base class
class_docstr_tok: ["Test","for","`","use_original_atoms_order","`","boolean","condition","added","to","`","MolecularFeaturizer","`","base","class"]
docstr: Set up tests.
docstr_tok: ["Set","up","tests","."]
code: def setUp(self):
      """
      Set up tests.
      """
      from rdkit.Chem import rdmolfiles
      from rdkit.Chem import rdmolops
  
      self.smile = "C1=CC=CN=C1"
      mol = Chem.MolFromSmiles(self.smile)
  
      self.original_atoms_order = []
      for atom in mol.GetAtoms():
          self.original_atoms_order.append(
              (atom.GetAtomicNum(), atom.GetIdx())
          )  # mapping of atomic number and original atom ordering
  
      new_order = rdmolfiles.CanonicalRankAtoms(mol)
      canonical_mol = rdmolops.RenumberAtoms(mol, new_order)
      self.canonical_atoms_order = []
      for atom in canonical_mol.GetAtoms():
          self.canonical_atoms_order.append(
              (atom.GetAtomicNum(), atom.GetIdx())
          )  # mapping of atomic number and canonical atom ordering
  
      self.bond_index = get_edge_index(
          mol
      )  # bond index based on original atom order
      self.canonical_bond_index = get_edge_index(canonical_mol)
  
imports: from deepchem.feat.base_classes import MolecularFeaturizer
  from deepchem.feat import MolGraphConvFeaturizer
  from rdkit import Chem
  import unittest
  import numpy
label_desc: Use image node_id 1 for calling the TestUpdatedMolecularFeaturizer obj's underlying member method code with example usage: obj.setUp() without return types