mol2 = Chem.MolFromSmiles("O")
atoms2 = rdkit2ase(mol2)
atoms = smiles2atoms("O")
These commands yield a Segmentation Fault (core dumped) in 0.2.2 installed from pip with Python 3.11.13
specifically this line
atoms = ase.Atoms(
positions=mol.GetConformer().GetPositions(),
numbers=[atom.GetAtomicNum() for atom in mol.GetAtoms()],
)
with rdkit==2025.9.1
even more specifically
mol.GetConformer().GetPositions()