def _get_atom_pos(atom_id): atom = Atom(currentSimulation(), atom_id) atom_pos = atom.pos() return atom_pos