pypet/trajectory.py
def _set_finish(self):
        """ Sets the finish time and computes the runtime in human readable format """

        run_info_dict = self._run_information[self.v_crun]
        timestamp_run = run_info_dict['timestamp']

        run_summary = self._summarize_explored_parameters()

        finish_timestamp_run = time.time()

        findatetime = datetime.datetime.fromtimestamp(finish_timestamp_run)
        startdatetime = datetime.datetime.fromtimestamp(timestamp_run)

        runtime_run = str(findatetime - startdatetime)

        run_info_dict['parameter_summary'] = run_summary
        run_info_dict['completed'] = 1
        run_info_dict['finish_timestamp'] = finish_timestamp_run
        run_info_dict['runtime'] = runtime_run
def _set_finish(self):
        run_info_dict = self._run_information[self.v_crun]
        timestamp_run = run_info_dict['timestamp']

        run_summary = self._summarize_explored_parameters()

        finish_timestamp_run = time.time()

        findatetime = datetime.datetime.fromtimestamp(finish_timestamp_run)
        startdatetime = datetime.datetime.fromtimestamp(timestamp_run)

        runtime_run = str(findatetime - startdatetime)

        run_info_dict['parameter_summary'] = run_summary
        run_info_dict['completed'] = 1
        run_info_dict['finish_timestamp'] = finish_timestamp_run
        run_info_dict['runtime'] = runtime_run
def _set_finish ( self ) : run_info_dict = self . _run_information [ self . v_crun ] timestamp_run = run_info_dict [ 'timestamp' ] run_summary = self . _summarize_explored_parameters ( ) finish_timestamp_run = time . time ( ) findatetime = datetime . datetime . fromtimestamp ( finish_timestamp_run ) startdatetime = datetime . datetime . fromtimestamp ( timestamp_run ) runtime_run = str ( findatetime - startdatetime ) run_info_dict [ 'parameter_summary' ] = run_summary run_info_dict [ 'completed' ] = 1 run_info_dict [ 'finish_timestamp' ] = finish_timestamp_run run_info_dict [ 'runtime' ] = runtime_run
Sets the finish time and computes the runtime in human readable format
Sets the finish time and computes the runtime in human readable format