def write_section(self, name, features, info, f):
        """Provides formatting for one section (e.g. hydrogen bonds)"""
        if not len(info) == 0:
            f.write('\n\n### %s ###\n' % name)
            f.write('%s\n' % '\t'.join(features))
            for line in info:
                f.write('%s\n' % '\t'.join(map(str, line)))
def write_section ( self , name , features , info , f ) : if not len ( info ) == 0 : f . write ( '\n\n### %s ###\n' % name ) f . write ( '%s\n' % '\t' . join ( features ) ) for line in info : f . write ( '%s\n' % '\t' . join ( map ( str , line ) ) )
Provides formatting for one section (e.g. hydrogen bonds)