Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changes for parallel and non parallel pointings #38

Closed
wants to merge 452 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
452 commits
Select commit Hold shift + click to select a range
20c5da6
add missing sphinx theme package
HealthyPear Nov 27, 2020
adb91c8
try using conda also for docs
HealthyPear Nov 27, 2020
b86ee5a
go back to pip and install gammapy
HealthyPear Nov 27, 2020
84e7c7f
simplify by adding a requirements file to docs
HealthyPear Nov 27, 2020
6a0aa63
Install from requirements file
HealthyPear Nov 27, 2020
5b245d9
Update setup.py
HealthyPear Nov 27, 2020
3f1be6d
Update workflow to use setup extras
HealthyPear Nov 27, 2020
8ea29bf
Update setup.py
HealthyPear Nov 27, 2020
747593f
Update docs extras
HealthyPear Nov 27, 2020
4304203
try adding ctapipe to docs extrax
HealthyPear Nov 27, 2020
f755c03
Fix setup
HealthyPear Nov 27, 2020
54516b8
Merge stashed changes
HealthyPear Nov 27, 2020
fefc251
Merge pull request #84 from HealthyPear/maintenance-github_CI
HealthyPear Nov 27, 2020
e989d73
Update from master and solve merge conflicts
HealthyPear Nov 27, 2020
1381e81
Update setup.py docs extras ctapipe version
HealthyPear Nov 27, 2020
3929f6b
fix wrong merge conflict
HealthyPear Nov 27, 2020
44ec267
add a conda list for debugging the CI
HealthyPear Nov 27, 2020
b7fda2e
try taking out pip 2020 resolver
HealthyPear Nov 27, 2020
eb2583a
add ctapipe info
HealthyPear Nov 27, 2020
f3c7a9b
switch conda channels priority by putting cta-observatory first
HealthyPear Nov 27, 2020
5ccb21d
Add ctapipe-extra to conda env
HealthyPear Nov 27, 2020
c0823fc
Corrections to write_dl2.py
gaia-verna Nov 30, 2020
3225536
Merge pull request #58 from HealthyPear/upgrade-towards_protopipe_03
HealthyPear Dec 1, 2020
ea6d038
Merge branch 'master' into upgrade-benchmarks_calibration
HealthyPear Dec 1, 2020
f6a24a9
Remove auxiliary script mistakenly re-added during merge conflicts re…
HealthyPear Dec 1, 2020
9f6038c
Add small update to docs about current version of GRID interface
HealthyPear Dec 1, 2020
43bc057
Add Zenodo DOI
HealthyPear Dec 3, 2020
7cf86aa
Add ZENODO json config file
HealthyPear Dec 3, 2020
9815e6f
Remove ASWG reference data, keep requirements
HealthyPear Dec 4, 2020
0faa39b
Improve input handling and update docs
HealthyPear Dec 7, 2020
f4c5121
Remove ASWG DL3 reference data
HealthyPear Dec 7, 2020
048191b
Remove TRANING DL1 reference data by CTAMARS
HealthyPear Dec 7, 2020
7ee344f
Update calibraiton notebook
HealthyPear Dec 7, 2020
fe96092
Add calibration config files and update notebook
HealthyPear Dec 7, 2020
d4d31bb
Add missing modifications from previous commit
HealthyPear Dec 7, 2020
e1239d0
Merge pull request #59 from HealthyPear/upgrade-benchmarks_calibration
HealthyPear Dec 7, 2020
1bd5c62
Merge branch 'master' into upgrade-writeDL2
HealthyPear Dec 7, 2020
518642a
Simplify some logical statements
HealthyPear Dec 9, 2020
d7a9b90
Merge pull request #77 from HealthyPear/upgrade-writeDL2
HealthyPear Dec 9, 2020
b23131a
specifying ctapipe version in environment.yml
gaia-verna Dec 9, 2020
ce569ed
Merge master solve conflicts
gaia-verna Dec 9, 2020
9f67772
Solve error with dependencies
gaia-verna Dec 11, 2020
f0d73e6
Merge pull request #79 from gaia-verna/pyirf
HealthyPear Dec 11, 2020
1015bc9
Changes in environment.yml
gaia-verna Dec 12, 2020
bc18cf7
Delete unused function in utils.py
gaia-verna Dec 12, 2020
7a7e31b
last changes to merge
gaia-verna Dec 14, 2020
5ab766e
Update the DL3 notebook
gaia-verna Dec 15, 2020
7e8ed53
Corrections in the DL3 notebook
gaia-verna Dec 15, 2020
e5f1e3f
Add more complete name to the performance output file
gaia-verna Dec 15, 2020
7c57a36
Add parameters to analysis.yaml config file
gaia-verna Dec 15, 2020
546372c
Update name in __init__.py
gaia-verna Dec 15, 2020
4a71eca
Corrections
gaia-verna Dec 16, 2020
9ccbf77
Corrections to performance config file and performance script
gaia-verna Dec 16, 2020
84939d0
Correction in performance script
gaia-verna Dec 16, 2020
858aa8e
Correction in performance.yaml
gaia-verna Dec 17, 2020
db8d430
remove sentence from DL3 notebook
gaia-verna Dec 21, 2020
70cdb0b
Merge pull request #83 from gaia-verna/pyirf_perf
HealthyPear Dec 21, 2020
2e26dd7
Merge master and solve conflicts
HealthyPear Jan 18, 2021
2da147f
Update/Fix DL2 PSF notebook
HealthyPear Jan 18, 2021
2c806e5
Add pip explicitly to the dependencies
HealthyPear Jan 18, 2021
a1db20c
Remove conda-forge channel to improve installation time
HealthyPear Jan 18, 2021
c52a32f
Add conda-forge only for packages that require it
HealthyPear Jan 18, 2021
e77aa59
Fix unresolved conflicts in old IRF-sensitivity notebook (to remove)
HealthyPear Jan 18, 2021
3cdaeb9
Update environement
HealthyPear Jan 18, 2021
22e628e
Simplify command line args of performance script + some format changes
HealthyPear Jan 18, 2021
1b03cb9
Update DL2 and DL3 notebooks remove old ones
HealthyPear Jan 19, 2021
2c0b71b
Rename new DL3 IRFs sensitivity notebook as old
HealthyPear Jan 19, 2021
815aee8
Move ctapipe calibration JSON config files to TRAINING
HealthyPear Jan 19, 2021
fb586c0
Rename benchmark notebook of energy estimation training data
HealthyPear Jan 19, 2021
d7f5731
Add new notebook about energy estimation for classification
HealthyPear Jan 19, 2021
e810261
Update protopipe.utils.read_DL2_pyirf to use fully reconstructed events
HealthyPear Jan 19, 2021
0527670
Small format fixes to new performance script
HealthyPear Jan 19, 2021
f04559a
Formatting updates
HealthyPear Jan 19, 2021
7d300bc
Rename PSF notebook
HealthyPear Jan 19, 2021
a0163c5
Use reconstructed energy for energy and angular resolutions
HealthyPear Jan 20, 2021
5113f5b
Improve performance output file name
HealthyPear Jan 20, 2021
3eb5d85
Update DL3 notebooks
HealthyPear Jan 20, 2021
d8ee080
Removed all user paths and DL3 outputs
HealthyPear Jan 20, 2021
f4ceedf
Remove DL3 output and link to RedMine page
HealthyPear Jan 20, 2021
e8a51f1
Merge pull request #76 from HealthyPear/upgrade-other_notebooks
HealthyPear Feb 1, 2021
0d7813e
Fix input data for plot of signal and noise of 2nd pass
HealthyPear Feb 3, 2021
5b2a815
Merge pull request #99 from HealthyPear/fix-calibration-benchmark-plo…
HealthyPear Feb 4, 2021
43f21c4
Merge branch 'master' into update-README
HealthyPear Feb 4, 2021
c60c19a
Update README with GitHub CI badge
HealthyPear Feb 4, 2021
9c4c60a
Remove old installation pages
HealthyPear Feb 4, 2021
bf08c82
Fix formatting typo in dev installation instructions
HealthyPear Feb 4, 2021
bb4edb8
General updates to contribution
HealthyPear Feb 4, 2021
0e4ab06
Remove TRAVIS CI configuration file (we use GitHub's CI now)
HealthyPear Feb 4, 2021
2e4ff69
Remove double text
HealthyPear Feb 4, 2021
5182448
Fix conda environment name
HealthyPear Feb 4, 2021
38c10be
Fix typo that caused a wrong image cleaning level
HealthyPear Feb 4, 2021
1ffaf4e
Update calibration benchmarks results
HealthyPear Feb 4, 2021
1a1aed4
Fix external link warning
HealthyPear Feb 4, 2021
9cdaf6b
Install mamba and use it to create the environment
HealthyPear Feb 4, 2021
b9e348f
Add note about installation with mamba
HealthyPear Feb 4, 2021
e41a108
Add figure about analysis directory tree
HealthyPear Feb 4, 2021
23c3840
Merge pull request #100 from HealthyPear/fix-calibration-benchmark-se…
HealthyPear Feb 4, 2021
7f2a0c1
Merge branch 'master' into maintenance-use_mamba
HealthyPear Feb 4, 2021
835c945
Merge branch 'master' into update-README
HealthyPear Feb 4, 2021
9c558ca
Merge branch 'master' into update-README
HealthyPear Feb 5, 2021
fa3d622
Merge pull request #101 from HealthyPear/maintenance-use_mamba
HealthyPear Feb 5, 2021
f94b39f
Merge branch 'master' into update-README
HealthyPear Feb 6, 2021
0d881ac
Merge branch 'update-README' of https://github.com/HealthyPear/protop…
HealthyPear Feb 6, 2021
c92f341
Fix gitignore to ignore all benchmark plots saved by the notebooks
HealthyPear Feb 6, 2021
5a1238a
Fix gitignore
HealthyPear Feb 6, 2021
f8518ab
Try to install all conda-forge packages from pip instead
HealthyPear Feb 6, 2021
b35e4de
Add Python 3.7 explicitly
HealthyPear Feb 6, 2021
e088603
install onlu nbsphinx through conda forge
HealthyPear Feb 6, 2021
331d2d9
Improve README
HealthyPear Feb 6, 2021
5c08911
remove plots
HealthyPear Feb 6, 2021
6c40a84
Fix numpydoc docstring warning
HealthyPear Feb 6, 2021
c5f84bf
Fix link in AUTHORS
HealthyPear Feb 6, 2021
58cd0bb
Update mailmap
HealthyPear Feb 6, 2021
d0e29b9
Fix AUTHORS
HealthyPear Feb 6, 2021
edc3652
Update projects names
HealthyPear Feb 6, 2021
4171cfa
Remove grid.yaml - it will be copied automaticlaly from the interface
HealthyPear Feb 6, 2021
8813168
General updates and fixes to the documentation
HealthyPear Feb 6, 2021
ec085cb
enable warning as error on readthedocs
HealthyPear Feb 6, 2021
7f3de68
Make changelog uppercase
HealthyPear Feb 6, 2021
0270f50
Update image cleaning results
HealthyPear Feb 8, 2021
acd10fd
Update direction recosntruction results
HealthyPear Feb 8, 2021
e21c2c7
Update benchmarks about training to energy estimation
HealthyPear Feb 8, 2021
4dfb550
Update benchmarks about training to classification
HealthyPear Feb 8, 2021
8c82b58
Add notebook about image parameters and true images
HealthyPear Feb 10, 2021
bf6a0cd
Add notebook with Energy LUT
HealthyPear Feb 10, 2021
c29547a
Hide some irrelevant title cells from benchmarks_DL2_to_classification
HealthyPear Feb 10, 2021
0c96e9e
Add formatting to new notebooks
HealthyPear Feb 10, 2021
a50b459
Update benchmarking docs
HealthyPear Feb 10, 2021
d9cc470
Remove old prints from direction reconstruction training notebook
HealthyPear Feb 10, 2021
50bdef4
Remove incorrect statement about direction LUT
HealthyPear Feb 10, 2021
d087146
Add CTAMARS gamma2 sample energy resolution
HealthyPear Feb 10, 2021
9ca3a90
Remove wrong line from description of benchmarks_DL1_image-cleaning-w…
HealthyPear Feb 11, 2021
f068149
Fix missing comma in zenodo.json
HealthyPear Feb 11, 2021
cab1179
Fix system exit due to site/array incompatibility error in data training
HealthyPear Feb 11, 2021
9585725
remove unused imports from event_preparer
HealthyPear Feb 11, 2021
c92138a
Update classifier benchmarking results
HealthyPear Feb 11, 2021
2e340b7
Add comparison between simulated and reconstructed PSI
HealthyPear Feb 12, 2021
31a3230
Update DL2 and DL3 benchmark results
HealthyPear Feb 16, 2021
a8d7f4c
Add performance poster notebook
HealthyPear Feb 16, 2021
273ba3b
Update configuration files to last reference analysis
HealthyPear Feb 16, 2021
b2e2eed
Update versioning for GRID interface support
HealthyPear Feb 16, 2021
b78689d
Update performance module explanation
HealthyPear Feb 16, 2021
93b4664
Update scripts documentation
HealthyPear Feb 16, 2021
b693b79
Fix missing API of reduced protopipe.perf
HealthyPear Feb 16, 2021
eaa8c54
Update main page
HealthyPear Feb 16, 2021
5c1cf6d
Final update to README and CHANGELOG
HealthyPear Feb 16, 2021
a5d436e
Fix default analysis config file for data training integration test
HealthyPear Feb 16, 2021
e945593
Revert environment to install packages from conda after mamba addition
HealthyPear Feb 16, 2021
94e9a3e
Add pyirf to docs dependencies in setup.py
HealthyPear Feb 16, 2021
0836617
Fix enviroment to allow both the CI and readthedocs to complete
HealthyPear Feb 16, 2021
641b99d
Add Direction LUT benchmark
HealthyPear Feb 17, 2021
7ceaa09
Small format update to CHANGELOG
HealthyPear Feb 17, 2021
b9771e4
Improve README one last time
HealthyPear Feb 17, 2021
0e70d34
Update branch
HealthyPear Feb 17, 2021
413163a
Add CD configuration file
HealthyPear Feb 17, 2021
7a1d2b4
Add z-axis labels and energy bias
HealthyPear Feb 18, 2021
0472f53
Improve visualization of some energy-related benchmarks
HealthyPear Feb 18, 2021
8cb82c4
Update CHANGELOG release date
HealthyPear Feb 19, 2021
df7eae4
Trigger Build
HealthyPear Feb 19, 2021
eb8eef7
Update setup doc requirements to latest gammapy
HealthyPear Feb 19, 2021
de4ff77
update readthedocs to install from setup docs requirements
HealthyPear Feb 19, 2021
72b4c43
postpone release date by 1 day
HealthyPear Feb 19, 2021
6078440
Update release date
HealthyPear Feb 22, 2021
5495547
Merge pull request #62 from HealthyPear/update-README
HealthyPear Feb 22, 2021
e50401c
Fix zenodo json
HealthyPear Feb 22, 2021
707bbbf
Add LICENSE file
HealthyPear Feb 22, 2021
ea949cd
Update CHANGELOG
HealthyPear Feb 22, 2021
0894387
Errata: Enrique Garcia helped to fix a maintenance bug with zenodo
HealthyPear Feb 22, 2021
92f3120
Merge pull request #106 from HealthyPear/maintenance-fix_zenodo
HealthyPear Feb 22, 2021
7fba0aa
Merge branch 'master' into maintenance-versioning
HealthyPear Feb 23, 2021
a054355
Add new versioning resources
HealthyPear Feb 23, 2021
25c02be
Update __init__
HealthyPear Feb 23, 2021
7045fbc
Add packaging resources
HealthyPear Feb 23, 2021
fdc953f
update setup.py
HealthyPear Feb 23, 2021
8ac438c
Update gitignore
HealthyPear Feb 23, 2021
9acd96e
test CD on test pypi
HealthyPear Feb 25, 2021
68b8356
Deploy this PR on TestPyPi
HealthyPear Feb 25, 2021
2cabe53
update deploy.yaml
HealthyPear Feb 25, 2021
73fc9f5
Update deploy
HealthyPear Feb 25, 2021
1327f9e
test simpler version
HealthyPear Feb 25, 2021
b84749b
Update CI with fetch-depth 0
HealthyPear Feb 25, 2021
ff87795
revert version
HealthyPear Feb 25, 2021
6f6d595
add fetch depth 0 to CD
HealthyPear Feb 25, 2021
b2b0033
Remove setup_requires in favor of pyproject requires
HealthyPear Feb 26, 2021
a1a7a10
Restore deploy only on push of tag releases
HealthyPear Feb 26, 2021
5ee65f6
Add ctapipe-extra to pip tests requirements
HealthyPear Mar 1, 2021
e9b3676
Update CD
HealthyPear Mar 1, 2021
5ba926f
Update setup
HealthyPear Mar 1, 2021
701c05d
update gitignore
HealthyPear Mar 1, 2021
b36ca7b
update setup.py
HealthyPear Mar 1, 2021
c18f222
bump version
HealthyPear Mar 1, 2021
1a9018b
Update zenodo JSON
HealthyPear Mar 2, 2021
4c2f396
Update README
HealthyPear Mar 2, 2021
6d1145a
Update installation instructions
HealthyPear Mar 2, 2021
e5c8091
Bump version
HealthyPear Mar 2, 2021
f157b9a
Remove metadata keyword
HealthyPear Mar 2, 2021
4e5a811
fix indentation (probably harmless)
HealthyPear Mar 2, 2021
2c9492d
Update .zenodo.json
HealthyPear Mar 3, 2021
a82f151
Remove jupyterlab and vitables from installation requirements and update
HealthyPear Mar 5, 2021
36d6880
Merge pull request #107 from HealthyPear/maintenance-prepare_1st_pypi…
HealthyPear Mar 5, 2021
c081cb1
Update CHANGELOG
HealthyPear Mar 5, 2021
fde6719
small format update to release drafter
HealthyPear Mar 5, 2021
a8c612d
Merge pull request #108 from HealthyPear/maintenance-update_changelog…
HealthyPear Mar 5, 2021
e624c67
Update DOI in README and docs index
HealthyPear Mar 5, 2021
8e2477f
Update release drafter
HealthyPear Mar 8, 2021
24dda38
Merge branch 'master' into maintenance-versioning
HealthyPear Mar 8, 2021
99c7e81
Merge pull request #109 from HealthyPear/maintenance-update_DOI
HealthyPear Mar 8, 2021
937a11f
Merge branch 'master' into maintenance-versioning
HealthyPear Mar 8, 2021
fa6d509
update training tests
HealthyPear Mar 9, 2021
39ef1bc
remove default URL from test code
HealthyPear Mar 9, 2021
f692f3e
remove degub flag added during tests
HealthyPear Mar 9, 2021
55546c6
test on multiple prod3b files
HealthyPear Mar 9, 2021
232503c
Add config files for TRAINING integration tests
HealthyPear Mar 9, 2021
2476477
add missing input_file argument in no images test
HealthyPear Mar 9, 2021
19b8956
small fix + format
HealthyPear Mar 9, 2021
d864ddd
add check on file size
HealthyPear Mar 10, 2021
ee76a29
Merge pull request #111 from HealthyPear/maintenance-update_TRAINING_…
HealthyPear Mar 10, 2021
16e0177
Merge branch 'master' into maintenance-versioning
HealthyPear Mar 10, 2021
e4e7114
Merge pull request #105 from HealthyPear/maintenance-versioning
HealthyPear Mar 12, 2021
d4a1ae5
Fix documentation development version in docs
HealthyPear Mar 12, 2021
2667706
Merge pull request #112 from cta-observatory/fix-docs_dev_version
HealthyPear Mar 15, 2021
409d77b
Temporarily add ctapipe master code to download from dataserver
HealthyPear Mar 17, 2021
4effff2
Update TRAINING tests
HealthyPear Mar 17, 2021
c5be211
Merge branch 'master' into maintenance_update_TRAINING_integration_te…
HealthyPear Mar 17, 2021
9c479d6
Split train and test using scikit-learn API
HealthyPear Mar 19, 2021
e53d78d
Improve build_models script
HealthyPear Mar 19, 2021
618a08d
Update docs
HealthyPear Mar 19, 2021
e708fe7
Merge pull request #113 from HealthyPear/maintenance_update_TRAINING_…
HealthyPear Mar 19, 2021
e87557c
Merge branch 'master' into feature-improve_build_models_and_mva
HealthyPear Mar 24, 2021
7649239
Merge branch 'feature-improve_build_models_and_mva' into maintenance-…
HealthyPear Mar 25, 2021
21b03fd
add conftest file
HealthyPear Mar 25, 2021
8151f43
Add curstom marker for integration tests
HealthyPear Mar 25, 2021
5ed7b80
Add CTA South test analysis configuration
HealthyPear Mar 25, 2021
62a0caa
Add test config files for current models
HealthyPear Mar 25, 2021
ff2622f
Add pipeline integration testing module
HealthyPear Mar 25, 2021
061a595
remove old integration testing module for data training tool
HealthyPear Mar 25, 2021
5f50452
Use all available cameras from test files by default
HealthyPear Mar 25, 2021
da6458c
Update documentation
HealthyPear Mar 25, 2021
7632ef2
Merge pull request #114 from HealthyPear/feature-improve_build_models…
HealthyPear Mar 26, 2021
bf85742
Merge branch 'master' into maintenance-integration_test_pipeline_up_t…
HealthyPear Mar 26, 2021
21b483c
Merge pull request #116 from HealthyPear/maintenance-integration_test…
HealthyPear Mar 26, 2021
421810b
use energy model output in training of gamma2 and proton1
HealthyPear Mar 29, 2021
01b3aa2
make test analysis config name relevant for tests
HealthyPear Mar 29, 2021
6d7a41f
Merge pull request #118 from HealthyPear/fix-integration-tests
HealthyPear Mar 29, 2021
95f599a
merge master
vuillaut Mar 30, 2021
56d7ff8
simplify dir check
vuillaut Mar 30, 2021
a75d815
fix array pointing
vuillaut Mar 30, 2021
5f2c7be
formatting
vuillaut Mar 30, 2021
3af7bab
fix if/else
vuillaut Mar 30, 2021
8a7583d
unused reconstructor
vuillaut Mar 30, 2021
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
13 changes: 13 additions & 0 deletions .github/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

echo "Using conda"
source $CONDA/etc/profile.d/conda.sh
conda config --set always_yes yes --set changeps1 no
conda update -q conda # get latest conda version
# Useful for debugging any issues with conda
conda info -a

sed -i -e "s/- python=.*/- python=$PYTHON_VERSION/g" environment.yml
conda install -c conda-forge mamba
mamba env create -n protopipe --file environment.yml
conda activate protopipe
36 changes: 36 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
categories:
- title: '🚀 General features'
labels:
- 'enhancement'
- title: '🔭 Pipeline applications'
labels:
- 'pipeline applications'
- title: '🌐 GRID support'
labels:
- 'grid'
- title: '🐛 Bug Fixes'
labels:
- 'bug'
- 'wrong behaviour'
- 'fix'
- title: '🧰 Maintenance'
labels:
- 'maintenance'
- 'documentation'
change-template: '- $TITLE (#$NUMBER) @$AUTHOR'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
template: |

## Summary

...

## Contributors

$CONTRIBUTORS

## What is changed since $PREVIOUS_TAG

Pull-requests containing changes of multiple nature are repeated.

$CHANGES
71 changes: 71 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: CI

on: [push, pull_request]

env:
MPLBACKEND: Agg
PYTEST_ADDOPTS: --color=yes

jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8]
install-method: ["conda"]

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
env:
INSTALL_METHOD: ${{ matrix.install-method }}
PYTHON_VERSION: ${{ matrix.python-version }}
run: |
source .github/install.sh
python --version
pip install codecov pytest-cov
pip install -e .[tests]
pip freeze
- name: Tests
env:
INSTALL_METHOD: ${{ matrix.install-method }}
run: |
source $CONDA/etc/profile.d/conda.sh
conda activate protopipe
conda list
ctapipe-info --version
pytest --cov=protopipe --cov-report=xml
- uses: codecov/codecov-action@v1

docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs/"
pre-build-command: |
apt update --yes && apt install --yes git build-essential pandoc
pip install -U pip setuptools wheel
pip install --use-feature=2020-resolver -e .[docs]
- name: Deploy to github pages
# only run on push to master
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/_build/html
CLEAN: true
SINGLE_COMMIT: true
32 changes: 32 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CD

on:
push:
tags:
- 'v*'

jobs:
deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

# make sure we have version info
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install dependencies
run: |
python --version
pip install -U pip setuptools wheel
python setup.py sdist
- name: Publish package
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
16 changes: 16 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Release Drafter

on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- master

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5.12.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12 changes: 7 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
.pytest_cache

.DS_Store

# Compiled files
*.py[co]
*.pyc
*.a
*.o
*.so
__pycache__

# ignore version cache file (generated automatically when setup.py is run)
ctapipe/_version_cache.py
protopipe/_version_cache.py
protopipe/_version.py

# Ignore .c files by default to avoid including generated code. If you want to
# add a non-generated .c extension, use `git add -f filename.c`.
Expand All @@ -24,10 +28,8 @@ MANIFEST
docs/api
docs/_build

# Benchmarks
benchmarks/DL1/plots*
benchmarks/DL2/plots*
benchmarks/DL3/plots*
# Benchmark plots
plots/

# Eclipse editor project files
.project
Expand Down
12 changes: 12 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Michele Peresano <michele.peresano@cea.fr> Michele Peresano <michele.peresano@.cea.fr>
Michele Peresano <michele.peresano@cea.fr> Michele Peresano <peresano.michele@gmail.com>
Julien Lefaucheur <julien.lefaucheur@obspm.fr>
Thierry Stolarczyk <thierry.stolarczyk@cea.fr>
Gaia Verna <verna@cppm.in2p3.fr> gaia-verna <51763341+gaia-verna@users.noreply.github.com>
Gaia Verna <verna@cppm.in2p3.fr> gaia-verna <gverna94@gmail.com>
Gaia Verna <verna@cppm.in2p3.fr> gaia-verna <verna@cppm.in2p3.fr>
David Landriu <landriu@sapcta.extra.cea.fr>
Karl Kosack <karl.kosack@cea.fr> Karl Kosack <kosack@users.noreply.github.com>
Thomas Vuillaume <thomas.vuillaume@gmail.com> vuillaut <thomas.vuillaume@gmail.com>
Alice Donini <alice.donini@ts.infn.it>
Enrique Garcia <garcia@lapp.in2p3.fr>
7 changes: 7 additions & 0 deletions .prospector.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pep257:
disable:
- D104
- D201
- D202
- D211
- D213
17 changes: 17 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2

python:
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- docs
- method: setuptools
path: .
system_packages: true

sphinx:
builder: html
configuration: docs/conf.py
fail_on_warning: true
49 changes: 0 additions & 49 deletions .travis.yml

This file was deleted.

68 changes: 68 additions & 0 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"title" : "protopipe",
"description": "Pipeline prototype for the Cherenkov Telescope Array (CTA).",
"license": {
"id": "CECILL-B"
},
"keywords": [
"gamma-ray astronomy",
"Imaging Atmospheric Cherenkov Telescope",
"IACT",
"CTA",
"pipeline",
"simulations",
"grid"
],
"upload_type": "software",
"creators": [
{
"orcid": "0000-0002-7537-7334",
"affiliation": "AIM, CEA, CNRS, Universite Paris-Saclay, Universite Paris Diderot, Sorbonne Paris Cite, F-91191 Gif-sur-Yvette, France",
"name": "Peresano, Michele"
}
],
"access_right": "open",
"contributors": [
{
"type": "Other",
"name": "Lefaucheur, Julien"
},
{
"affiliation": "Aix Marseille Univ, CNRS/IN2P3, CPPM, Marseille, France",
"type": "Other",
"name": "Verna, Gaia"
},
{
"affiliation": "AIM, CEA, CNRS, Universite Paris-Saclay, Universite Paris Diderot, Sorbonne Paris Cite, F-91191 Gif-sur-Yvette, France",
"type": "Other",
"name": "Stolarczyk, Thierry"
},
{
"orcid": "0000-0002-5686-2078",
"affiliation": "Laboratoire d'Annecy de Physique des Particules, Univ. Grenoble Alpes, Univ. Savoie Mont Blanc, CNRS, LAPP, 74000 Annecy, France",
"type": "Other",
"name": "Vuillaume, Thomas"
},
{
"affiliation": "AIM, CEA, CNRS, Universite Paris-Saclay, Universite Paris Diderot, Sorbonne Paris Cite, F-91191 Gif-sur-Yvette, France",
"type": "Other",
"name": "Kosack, Karl"
},
{
"affiliation": "Universit\u00e0 di Udine & INFN Trieste",
"type": "Other",
"name": "Donini, Alice"
},
{
"orcid": "0000-0003-2224-4594",
"affiliation": "Laboratoire d'Annecy de Physique des Particules, Univ. Grenoble Alpes, Univ. Savoie Mont Blanc, CNRS, LAPP, 74000 Annecy, France",
"type": "Other",
"name": "Garcia, Enrique"
},
{
"affiliation": "AIM, CEA, CNRS, Universite Paris-Saclay, Universite Paris Diderot, Sorbonne Paris Cite, F-91191 Gif-sur-Yvette, France",
"type": "Other",
"name": "Landriu, David"
}
]
}
Loading