diff --git a/benchmarks/dis/analysis/truth_reconstruction.py b/benchmarks/dis/analysis/truth_reconstruction.py index e726e7ee20660b3903467009e475da9c15c4fdf8..7d24cf7df5de77137403ab248aba30ed129f3d53 100644 --- a/benchmarks/dis/analysis/truth_reconstruction.py +++ b/benchmarks/dis/analysis/truth_reconstruction.py @@ -426,7 +426,7 @@ for i in range(len(MC_list)): #Repeat the following steps for each variable (mom axs[1].set_ylabel('%s_rc'%(title_list[i])) axs[1].set_title('%s Correlation'%(title_list[i])) fig.suptitle('%s %s events\n DETECTOR_CONFIG: %s'%(config,Nevents,Dconfig)) - plt.savefig(os.path.join(r_path, '%s%s_%s.png' % (title_list_n[i],args.config.split('_epic_')[1].strip(),config))) + # plt.savefig(os.path.join(r_path, '%s%s_%s.png' % (title_list_n[i],args.config.split('_epic_')[1].strip(),config))) ################################################################################################### @@ -477,7 +477,7 @@ if particle in particle_dict.keys(): particle_plots(boolean_particle) plt.suptitle('%s in %s %s events\n DETECTOR_CONFIG: %s'%(particle_name,config,Nevents,Dconfig)) - plt.savefig(os.path.join(r_path, '%s_%s.png' % (particle_name_n[particle_name],config))) + # plt.savefig(os.path.join(r_path, '%s_%s.png' % (particle_name_n[particle_name],config))) else: for i in [[boolean_photon,'Photons'],[boolean_electron,'Electrons'],[boolean_pion,'Pions']]: boolean_particle = i[0] @@ -485,7 +485,7 @@ else: particle_plots(boolean_particle) plt.suptitle('%s in %s %s events\n DETECTOR_CONFIG: %s'%(particle_name,config,Nevents,Dconfig)) - plt.savefig(os.path.join(r_path, '%s_%s.png' % (particle_name_n[particle_name],config))) + # plt.savefig(os.path.join(r_path, '%s_%s.png' % (particle_name_n[particle_name],config))) diff --git a/benchmarks/dis/dis.sh b/benchmarks/dis/dis.sh index 8cf8e1168edccc23c01d300d933840e938d0acf4..39676586ce08e9e697819dbcb755bee003772354 100755 --- a/benchmarks/dis/dis.sh +++ b/benchmarks/dis/dis.sh @@ -123,11 +123,11 @@ EOF # exit 1 # fi -python benchmarks/dis/analysis/kinematics_correlations.py --rec_file ${REC_FILE} --config ${PLOT_TAG}_${DETECTOR_CONFIG} --results_path ${RESULTS_PATH} --nevents ${JUGGLER_N_EVENTS} -if [[ "$?" -ne "0" ]] ; then - echo "ERROR running kinematics_correlations script" - exit 1 -fi +# python benchmarks/dis/analysis/kinematics_correlations.py --rec_file ${REC_FILE} --config ${PLOT_TAG}_${DETECTOR_CONFIG} --results_path ${RESULTS_PATH} --nevents ${JUGGLER_N_EVENTS} +# if [[ "$?" -ne "0" ]] ; then +# echo "ERROR running kinematics_correlations script" +# exit 1 +# fi python benchmarks/dis/analysis/truth_reconstruction.py --rec_file ${REC_FILE} --config ${PLOT_TAG}_${DETECTOR_CONFIG} --results_path ${RESULTS_PATH} --nevents ${JUGGLER_N_EVENTS} if [[ "$?" -ne "0" ]] ; then