#NEWLINE# def merge_basic_only_adding_more_trials( self , copy_nodes = False , delete_traj = False , slow_merge = False ) : #NEWLINE# #INDENT# self . envs = [ ] #NEWLINE# self . trajs = [ ] #NEWLINE# for ( irun , filename ) in enumerate ( self . filenames ) : #NEWLINE# #INDENT# if isinstance ( filename , int ) : #NEWLINE# #INDENT# filename = self . filenames [ filename ] #NEWLINE# #UNINDENT# self . make_environment ( irun , filename ) #NEWLINE# #UNINDENT# self . param_dict = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# create_param_dict ( self . param_dict ) #NEWLINE# for irun in [ 0 , 1 , 2 ] : #NEWLINE# #INDENT# add_params ( self . trajs [ irun ] , self . param_dict ) #NEWLINE# #UNINDENT# self . explore ( self . trajs [ 0 ] ) #NEWLINE# self . explore ( self . trajs [ 1 ] ) #NEWLINE# self . compare_explore_more_trials ( self . trajs [ 2 ] ) #NEWLINE# for irun in [ 0 , 1 , 2 ] : #NEWLINE# #INDENT# self . make_run ( self . envs [ irun ] ) #NEWLINE# #UNINDENT# for irun in [ 0 , 1 , 2 ] : #NEWLINE# #INDENT# self . trajs [ irun ] . f_load_skeleton ( ) #NEWLINE# self . trajs [ irun ] . f_load ( load_parameters = pypetconstants . UPDATE_DATA , load_derived_parameters = pypetconstants . UPDATE_DATA , load_results = pypetconstants . UPDATE_DATA , load_other_data = pypetconstants . UPDATE_DATA ) #NEWLINE# #UNINDENT# self . trajs [ 1 ] . f_add_result ( 'gg.rrororo33o333o3o3oo3' , 1234567890 ) #NEWLINE# self . trajs [ 1 ] . f_store_item ( 'rrororo33o333o3o3oo3' ) #NEWLINE# self . trajs [ 1 ] . res . gg . v_annotations [ 'lala' ] = 'Sonnenschein' #NEWLINE# self . trajs [ 1 ] . f_store_item ( 'gg' ) #NEWLINE# self . trajs [ 2 ] . f_add_result ( 'gg.rrororo33o333o3o3oo3' , 1234567890 ) #NEWLINE# self . trajs [ 2 ] . f_store_item ( 'rrororo33o333o3o3oo3' ) #NEWLINE# self . trajs [ 2 ] . res . gg . v_annotations [ 'lala' ] = 'Sonnenschein' #NEWLINE# self . trajs [ 2 ] . f_store_item ( 'gg' ) #NEWLINE# merged_traj = self . trajs [ 0 ] #NEWLINE# self . trajs [ 1 ] . f_remove_child ( 'results' , recursive = True ) #NEWLINE# merged_traj . f_merge ( self . trajs [ 1 ] , move_data = ( not copy_nodes ) , delete_other_trajectory = delete_traj , trial_parameter = 'trial' , slow_merge = slow_merge ) #NEWLINE# merged_traj . f_load ( load_parameters = pypetconstants . UPDATE_DATA , load_derived_parameters = pypetconstants . UPDATE_DATA , load_results = pypetconstants . UPDATE_DATA , load_other_data = pypetconstants . UPDATE_DATA ) #NEWLINE# self . compare_trajectories ( merged_traj , self . trajs [ 2 ] )