merge_machine/abstract_data_project.py
def _end_active_log(self, log, error=False):
        '''    
        Close a log mesage started with _init_active_log (right after module call)
        and append to log buffer
        
        INPUT:
            - log: a log object created by _init_active_log
            - error: whether or not there was an error during execution
        '''
        log['end_timestamp'] = time.time()
        log['error'] = error
        if not error:
            log['completed'] = True
        self.log_buffer.append(log)# TODO: change for dict
        return log
    
        Close a log mesage started with _init_active_log (right after module call)
        and append to log buffer
        
        INPUT:
            - log: a log object created by _init_active_log
            - error: whether or not there was an error during execution
        
Close a log mesage started with _init_active_log (right after module call)
and append to log buffer

a log object created by _init_active_log
error: whether or not there was an error during execution
Close a log mesage started with _init_active_log ( right after module call ) and append to log buffer a log object created by _init_active_log error : whether or not there was an error during execution
def _end_active_log(self, log, error=False):
        log['end_timestamp'] = time.time()
        log['error'] = error
        if not error:
            log['completed'] = True
        self.log_buffer.append(log)
        return log
def _end_active_log ( self , log , error = False ) : log [ 'end_timestamp' ] = time . time ( ) log [ 'error' ] = error if not error : log [ 'completed' ] = True self . log_buffer . append ( log ) return log
Close a log mesage started with _init_active_log (right after module call)
and append to log buffer
Close a log mesage started with _init_active_log ( right after module call ) and append to log buffer
'''    
        Close a log mesage started with _init_active_log (right after module call)
        and append to log buffer
        
        INPUT:
            - log: a log object created by _init_active_log
            - error: whether or not there was an error during execution
        ''' # TODO: change for dict
self
log
error