def get_atom_name(atom):
    """Formats an atom name for packing in .cif.

    :param Atom atom: the atom to read.
    :rtype: ``str``"""
    return '"{}"'.format(atom._name) if "'" in atom._name else atom._name
