def __str__(self):
        """
        Return the string representation of this ``AdfKey``.

        Notes
        -----
        If this key is 'Atoms' and the coordinates are in Cartesian form, a
        different string format will be used.

        """
        s = "{:s}".format(self.key)
        if len(self.options) > 0:
            s += " {:s}".format(self._options_string())
        s += "\n"
        if len(self.subkeys) > 0:
            if self.key.lower() == 'atoms':
                for subkey in self.subkeys:
                    s += "{:2s}  {: 14.8f}    {: 14.8f}    {: 14.8f}\n".format(
                        subkey.name, *subkey.options)
            else:
                for subkey in self.subkeys:
                    s += str(subkey)
            if self.is_block_key():
                s += "END\n"
            else:
                s += "subend\n"
        elif self.key.upper() in self._full_blocks:
            s += "END\n"
        return s
def __str__ ( self ) : s = "{:s}" . format ( self . key ) if len ( self . options ) > 0 : s += " {:s}" . format ( self . _options_string ( ) ) s += "\n" if len ( self . subkeys ) > 0 : if self . key . lower ( ) == 'atoms' : for subkey in self . subkeys : s += "{:2s}  {: 14.8f}    {: 14.8f}    {: 14.8f}\n" . format ( subkey . name , * subkey . options ) else : for subkey in self . subkeys : s += str ( subkey ) if self . is_block_key ( ) : s += "END\n" else : s += "subend\n" elif self . key . upper ( ) in self . _full_blocks : s += "END\n" return s
Return the string representation of this ``AdfKey``.

        Notes
        -----
        If this key is 'Atoms' and the coordinates are in Cartesian form, a
        different string format will be used.