Skip to content

Commit

Permalink
Added possibility to read TGraph from '.C' file (HEPData#135)
Browse files Browse the repository at this point in the history
* added c_file_reader.py and test_cfilereader.py
* added notebook
* Fixed tests
* Add read_c_file.ipynb to README

Co-authored-by: Clemens Lange <clemens.lange@cern.ch>
  • Loading branch information
SirVheod and clelange committed May 12, 2020
1 parent cf5aba9 commit 513ee84
Show file tree
Hide file tree
Showing 8 changed files with 2,104 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
python -m pip install pytest_pylint configparser astroid pyyml papermill
python -m pip install -e .
python setup.py test
python -m pip install -e .
python -m pylint hepdata_lib/*.py
python -m pylint tests/*.py --rcfile=tests/pylintrc
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ There are a few more examples available that can directly be run using the [bind
- [Reading in a CMS combine ntuple](examples/combine_limits.ipynb) [![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/HEPData/hepdata_lib/master?filepath=examples/combine_limits.ipynb)
- [Reading in ROOT histograms](examples/reading_histograms.ipynb) [![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/HEPData/hepdata_lib/master?filepath=examples/reading_histograms.ipynb)
- [Reading a correlation matrix](examples/correlation.ipynb) [![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/HEPData/hepdata_lib/master?filepath=examples/correlation.ipynb)
- [Reading TGraph and TGraphError from '.C' files](examples/read_c_file.ipynb) [![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/HEPData/hepdata_lib/master?filepath=examples/read_c_file.ipynb)

## External dependencies

Expand Down

0 comments on commit 513ee84

Please sign in to comment.