code/vexptoolbox/experiment.py
def summary(self):
        """ Trial summary string. Includes params for a running trial and 
        results for a finished trial.
        """
        value_str = ''
        if self.status == 'running' and len(self.params) > 0:
            value_str = 'Params: ' + ', '.join(['{:s}={:s}'.format(l, str(res)) for (l, res) in self.params])
        elif self.status == 'done' and len(self.results) > 0:
            value_str = 'Results: ' + ', '.join(['{:s}={:s}'.format(l, str(res)) for (l, res) in self.results])
        s = 'Trial #{: 3d} {:s}. {:s}'.format(self.number, self.status, value_str)
        return s
 Trial summary string. Includes params for a running trial and 
        results for a finished trial.
        
Trial summary string. Includes params for a running trial and
results for a finished trial.
Trial summary string . Includes params for a running trial and results for a finished trial .
def summary(self):
        value_str = ''
        if self.status == 'running' and len(self.params) > 0:
            value_str = 'Params: ' + ', '.join(['{:s}={:s}'.format(l, str(res)) for (l, res) in self.params])
        elif self.status == 'done' and len(self.results) > 0:
            value_str = 'Results: ' + ', '.join(['{:s}={:s}'.format(l, str(res)) for (l, res) in self.results])
        s = 'Trial #{: 3d} {:s}. {:s}'.format(self.number, self.status, value_str)
        return s
def summary ( self ) : value_str = '' if self . status == 'running' and len ( self . params ) > 0 : value_str = 'Params: ' + ', ' . join ( [ '{:s}={:s}' . format ( l , str ( res ) ) for ( l , res ) in self . params ] ) elif self . status == 'done' and len ( self . results ) > 0 : value_str = 'Results: ' + ', ' . join ( [ '{:s}={:s}' . format ( l , str ( res ) ) for ( l , res ) in self . results ] ) s = 'Trial #{: 3d} {:s}. {:s}' . format ( self . number , self . status , value_str ) return s
Trial summary string.
Trial summary string .
""" Trial summary string. Includes params for a running trial and 
        results for a finished trial.
        """
self