rxn.reaction_preprocessing.special_tokens.strip_all_special_tokens

rxn.reaction_preprocessing.special_tokens.strip_all_special_tokens(reaction_or_list, in_place=False)[source]

Strip all the special tokens from a reaction or list of SMILES strings.

Parameters
  • reaction_or_list (TypeVar(ReactionOrList, ReactionEquation, List[str])) –

  • in_place (bool, default: False) –

Return type

TypeVar(ReactionOrList, ReactionEquation, List[str])