Skip to main content

kekule_paint_orders

Function kekule_paint_orders 

Source
pub fn kekule_paint_orders(
    mol: &MoleculeIn,
    rings: &[Ring],
) -> HashMap<(i32, i32), f64>
Expand description

Paint-only bond orders: assign alternating 2/1 around fully aromatic rings.

Does not mutate MoleculeIn. Shared bonds keep the first assignment (smaller rings first).