coflandscaper.parse_xyz_from_atom_line

coflandscaper.parse_xyz_from_atom_line(line)[source]

Parse XYZ coordinates from a CIF atom line.

Parameters:

line (str) – CIF atom line with x, y, z in columns 4‑6.

Returns:

(x, y, z) tuple if parsing succeeds, otherwise None.

Return type:

tuple[float, float, float] | None