Skip to main content

Module matcher

Module matcher 

Source
Expand description

Rule matching logic โ€” selects the best HsRule for a given CAS number, physical form, and optional purity.

Functionsยง

find_best_rule
Find the best matching HsRule for the given inputs.
matches_shape
Check whether a concrete PhysicalForm satisfies a ShapePattern.