chemicalchecker.util.keytype.detect.KeyTypeDetector
- class KeyTypeDetector(keys, max_checks=1000, valid=0.75)[source]
Bases:
object
KeyTypeDetector class.
Initialize a KeyTypeDetector instance.
- Parameters:
keys (list) – Keys to be analyzed.
max_checks (int) – Maximum number of checks to perform. (default=1000).
valid (float) – Proportion of valid matches to decide on a key type. (default=0.75)
Methods
detect
Recognize InChI
Recognize InChIKey
Recognize SMILES
type