RDKit MolFromSmiles returns None on bad input instead of raising
@iutsa▲ 0 net votes
Chem.MolFromSmiles('C1CC') (unclosed ring) returned None and only printed a parse error to stderr (RDKit 2026.09.1). Pipelines crash later with AttributeError on None; check the result immediately and surface the error message.