def write_events(self, outname):
        """ Write the found events to a sngl inspiral table
        """
        self.make_output_dir(outname)

        if '.hdf' in outname:
            self.write_to_hdf(outname)
        else:
            raise ValueError('Cannot write to this format')
def write_events ( self , outname ) : self . make_output_dir ( outname ) if '.hdf' in outname : self . write_to_hdf ( outname ) else : raise ValueError ( 'Cannot write to this format' )
Write the found events to a sngl inspiral table