code: def get_partial_charge(mol):
      Chem.rdPartialCharges.ComputeGasteigerCharges(mol)
      atoms = mol.GetAtoms()
      charge_list = []
      for atom in atoms:
          pc = atom.GetDoubleProp("_GasteigerCharge")
          if pc != pc:
              # unsupported atom, replace nan with 0
              pc = 0
          if pc == float("inf"):
              # max 4 for other atoms, set to 10 here if inf is get
              pc = 10
          charge_list.append(pc)
      return charge_list
  
imports: import numpy
  import rdkit
  from rdkit import Chem
  from rdkit.Chem import AllChem
  import rdkit.Chem.rdPartialCharges
  from ogb.utils.features import allowable_features, atom_to_feature_vector, atom_feature_vector_to_dict, bond_feature_vector_to_dict
  from local_feature import bond_to_feature_vector, get_bond_feature_dims
  from copy import deepcopy
  import hashlib
label_desc: Use image node_id 14 for calling a global function with example usage: get_partial_charge(mol) and returns: charge_list