def __call__( self, report, best_fit ):
        """Write a row to the stop file.

        :param report: :class:`caravel.report.Report` object
        :param best_fit: :class:`Candidate` object
        """
        row= report.as_dict()
        for name in best_fit._fields:
            value= getattr(best_fit, name)
            if isinstance(value, dict):
                row.update( prefix_dict(name, value) )
            else:
                row[name]= value
        ##print( "WriteStop", self.heading )
        ##print( "         ", row )
        self.wtr.writerow( row )
        self.count += 1
    def __call__( self, status, report, dist_fit=None, time_fit=None ):
        """Write a row to the no-stop file.

        :param message: Short string explanation
        :param report: :class:`caravel.report.Report` object
        :param dist_fit: ``Stop`` object or ``None``
        :param time_fit: ``Stop`` object or ``None``
        """
        row= report.as_dict()
        row['status']= status
        if dist_fit:
            row.update( prefix_dict('candidate_1', dist_fit ) )
        if time_fit:
            row.update( prefix_dict('candidate_2', time_fit ) )
        # print( self.heading )
        # print( row )
        self.wtr.writerow( row )
        self.count += 1