Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ jobs:
scripts/ci/run_with_singularity.sh scripts/ci/setup_and_run.sh rabbit_plot_pulls_and_impacts.py
$WREMNANTS_OUTDIR/WMass_eta_pt_charge_poiAsNoi/WMass_absEtaGen_ptGen_qGen_theoryfit/fitresults.hdf5
--grouping max --config 'utilities/styles/styles.py' --postfix poiAsNoi
-o $WEB_DIR/$PLOT_DIR/unfolding_mw -n 50 --otherExtensions pdf png --showNumbers --oneSidedImpacts -s absimpact --scale 1.5
-o $WEB_DIR/$PLOT_DIR/unfolding_mw -n 50 --otherExtensions pdf png --showNumbers --oneSidedImpacts -s absimpact --scaleImpacts 1.5

lowpu-w:
# The type of runner that the job will run on
Expand Down Expand Up @@ -1011,7 +1011,7 @@ jobs:
scripts/ci/run_with_singularity.sh scripts/ci/setup_and_run.sh rabbit_plot_pulls_and_impacts.py
$WREMNANTS_OUTDIR/ZMassDilepton_ptll_yll_poiAsNoi/ZMassDilepton_ptVGen_absYVGen_theoryfit/fitresults.hdf5
--grouping max --config 'utilities/styles/styles.py' --postfix poiAsNoi
-o $WEB_DIR/$PLOT_DIR/unfolding_dilepton -n 50 --otherExtensions pdf png --showNumbers --oneSidedImpacts -s absimpact --scale 1.5
-o $WEB_DIR/$PLOT_DIR/unfolding_dilepton -n 50 --otherExtensions pdf png --showNumbers --oneSidedImpacts -s absimpact --scaleImpacts 1.5

dilepton-unfolding:
# The type of runner that the job will run on
Expand Down Expand Up @@ -1118,7 +1118,7 @@ jobs:
scripts/ci/run_with_singularity.sh scripts/ci/setup_and_run.sh rabbit_plot_pulls_and_impacts.py
$WREMNANTS_OUTDIR/ZMassDilepton_ptll_yll_unfolding/ZMassDilepton_ptVGen_absYVGen_theoryfit/fitresults.hdf5
--grouping max --config 'utilities/styles/styles.py' --postfix unfolding
-o $WEB_DIR/$PLOT_DIR/unfolding_dilepton -n 50 --otherExtensions pdf png --showNumbers --oneSidedImpacts -s absimpact --scale 1.5
-o $WEB_DIR/$PLOT_DIR/unfolding_dilepton -n 50 --otherExtensions pdf png --showNumbers --oneSidedImpacts -s absimpact --scaleImpacts 1.5


dilepton-plotting:
Expand Down
13 changes: 11 additions & 2 deletions scripts/rabbit/setupRabbit.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
widthWeightNames,
)
from wums import boostHistHelpers as hh
from wums import logging
from wums import logging, output_tools


def make_subparsers(parser):
Expand Down Expand Up @@ -3062,6 +3062,15 @@ def outputFolderName(outfolder, datagroups, doStatOnly, postfix):
outfile = "Combination"
logger.info(f"Writing output to {outfile}")

writer.write(outfolder=outfolder, outfilename=outfile, args=args)
# propagate meta info into result file
meta = {
"meta_info": output_tools.make_meta_info_dict(
args=args,
wd=common.base_dir,
),
"meta_info_input": datagroups.getMetaInfo(),
}

writer.write(outfolder=outfolder, outfilename=outfile, meta_data_dict=meta)

logging.summary()