Back to home page

EIC code displayed by LXR

 
 

    


Warning, /epic-capybara/README.md is written in an unsupported language. File is not indexed.

0001 # epic-capybara
0002 
0003 epic-capybara is a collection of tools for comparison and presentation of
0004 differences between [ROOT](https://root.cern) TTree files. The available tools
0005 are:
0006 
0007 - `capybara capy` fetches CI artifacts either for a single revision of for the PR branch and its reference branch
0008 - `capybara bara` projects each TTree leaf onto a histogram, render it as an html report using Bokeh
0009 - `capybara cate` upload report to a github repo
0010 
0011 See `capybara --help` or `capybara <tool-name> --help` for options.
0012 
0013 ### Installing
0014 
0015 You will need to obtain epic-capybara itself and [Hatch](https://hatch.pypa.io/latest/).
0016 
0017 ```
0018 git clone git@github.com:eic/epic-capybara.git
0019 pip install hatch
0020 cd epic-capybara
0021 ```
0022 
0023 You can then either run the development version:
0024 ```
0025 hatch env run -- capybara capy pr 123
0026 ```
0027 
0028 Or build a wheel and install it locally
0029 ```
0030 hatch build
0031 pip install dist/*.whl
0032 ```
0033 
0034 ### Legacy scripts
0035 
0036 This repository contains scripts for ROOT file comparisons in CI.
0037 - `capy.py`: obtain ROOT files from previous CI pipelines
0038 - `bara.py`: compare two ROOT files