matchms.filtering.SpeciesString module
- class matchms.filtering.SpeciesString.SpeciesString(dirty: str)[source]
Bases:
objectA class to process and clean different types of chemical structure strings including InChI, InChIKey, and SMILES.
The class takes a raw input string, determines the intended structure type, and then cleans the string based on its type.
- target
The intended structure type determined from the input string. Could be ‘inchi’, ‘inchikey’, ‘smiles’, or None if no valid type was identified.
- Type: