epic-capybara is a collection of tools for comparison and presentation of differences between ROOT TTree files. The available tools are:
capybara capyfetches CI artifacts either for a single revision of for the PR branch and its reference branchcapybara baraprojects each TTree leaf onto a histogram, render it as an html report using Bokehcapybara cateupload report to a github repo
See capybara --help or capybara <tool-name> --help for options.
You will need to obtain epic-capybara itself and Hatch.
git clone git@github.com:eic/epic-capybara.git
pip install hatch
cd epic-capybara
You can then either run the development version:
hatch env run -- capybara capy pr 123
Or build a wheel and install it locally
hatch build
pip install dist/*.whl
This repository contains scripts for ROOT file comparisons in CI.
capy.py: obtain ROOT files from previous CI pipelinesbara.py: compare two ROOT files