code: def get_atom_chirality_one_hot(atom: RDKitAtom) -> List[float]:
      """Get an one-hot feature about an atom chirality type.
  
      Parameters
      ---------
      atom: rdkit.Chem.rdchem.Atom
          RDKit atom object
  
      Returns
      -------
      List[float]
          A one-hot vector of the chirality type. The first element
          indicates "R", and the second element indicates "S".
      """
      one_hot = [0.0, 0.0]
      try:
          chiral_type = atom.GetProp("_CIPCode")
          if chiral_type == "R":
              one_hot[0] = 1.0
          elif chiral_type == "S":
              one_hot[1] = 1.0
      except:
          pass
      return one_hot
  
imports: import os
  import logging
  from typing import List, Union, Tuple
  import numpy
  from deepchem.utils.typing import RDKitAtom, RDKitBond, RDKitMol
label_desc: Use image node_id 8 for calling a global function with example usage: get_atom_chirality_one_hot(atom) and returns: one_hot