Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
5b77459
Bootstrap python package with poetry
alecandido Jul 17, 2021
1c8d634
Introudce autocompletion with readline
alecandido Jul 17, 2021
8a54806
Replace run_dis.py with package function
alecandido Jul 22, 2021
38e3098
Add table comparison to dis
alecandido Jul 22, 2021
db03d06
Arbitrary PDF set available
alecandido Jul 22, 2021
03b6ba1
Merge branch 'HERA' into runpy
alecandido Aug 16, 2021
3a72415
Remove old dis runner
alecandido Aug 16, 2021
a62810b
Add compression to dis runner
alecandido Aug 17, 2021
690fa20
Improve management of compressed paths
alecandido Aug 17, 2021
b688ce0
Add yadism scale variations
alecandido Aug 17, 2021
5040c4a
Replace only once inf with zero
alecandido Aug 17, 2021
441f215
Add madgraph installation
alecandido Aug 18, 2021
f2dd115
Introduce mg5amc and pineappl installation
alecandido Aug 18, 2021
c7b2540
Fix pineappl installation
alecandido Aug 20, 2021
c6d180d
Add check on recompute dataset
alecandido Aug 20, 2021
6f224fb
Implement output_and_launch
alecandido Aug 20, 2021
d032d4b
Add fortran cut templates
alecandido Aug 24, 2021
cc0807e
Unpack code templates into individual files
alecandido Aug 25, 2021
b3f23d9
Init merge reimplementation
alecandido Aug 25, 2021
e41def5
Fix pineapplgrid generation from mg5 output grids
alecandido Aug 26, 2021
eb53e35
Annotate grid with sw versions
alecandido Aug 26, 2021
ceb508d
Complete run.sh replacement
alecandido Aug 27, 2021
804fc92
Format table
alecandido Aug 27, 2021
18a74ac
Fix postrun, move compression to python
alecandido Sep 1, 2021
214a32a
Fix postrun, move compression to python
alecandido Sep 1, 2021
d283783
Merge branch 'runpy' of github.com:NNPDF/runcards into runpy
alecandido Sep 1, 2021
19f9dc5
Merge branch 'master' into runpy
alecandido Sep 1, 2021
eb888f4
Implement #user_defined_tau_min and #enable_patch in python
alecandido Sep 1, 2021
ba5afd5
Remove hadronic & dis commands
alecandido Sep 3, 2021
baf5caa
Make dis generation working back
alecandido Sep 4, 2021
cc4416c
Introduce pre-commit
alecandido Sep 30, 2021
ba28f12
Add install/run script
alecandido Sep 30, 2021
d094fe6
Manage lhapdf related steps
alecandido Sep 30, 2021
ec885be
Change package name
alecandido Oct 1, 2021
70247cd
Fix directory existence check
alecandido Oct 1, 2021
15d4b7e
Merge branch 'master' into runpy
alecandido Oct 1, 2021
07f6f3f
Upgrade cuts related snippets
alecandido Oct 1, 2021
58f7e81
Apply some small fixes
felixhekhorn Oct 1, 2021
19497bf
Merge branch 'runpy' of github.com:NNPDF/runcards into runpy
felixhekhorn Oct 1, 2021
7a4a5b5
More intuitive installation of lhapdf
alecandido Oct 1, 2021
98fa616
Init sphinx
felixhekhorn Oct 1, 2021
c4a6b27
Merge branch 'runpy' of github.com:NNPDF/runcards into runpy
felixhekhorn Oct 1, 2021
6134dcb
Start doc
felixhekhorn Oct 1, 2021
2806795
Late import lhapdf_management
alecandido Oct 1, 2021
c3456ec
Merge branch 'runpy' of github.com:NNPDF/runcards into runpy
alecandido Oct 1, 2021
cde2383
Add pre-commit installation to install command
alecandido Oct 1, 2021
7215f15
Add table docs
felixhekhorn Oct 1, 2021
2643dea
Add run and install doc
felixhekhorn Oct 1, 2021
06d55a9
Add interface doc
felixhekhorn Oct 1, 2021
2e8d43a
Allow for rerunning without regenerating
alecandido Oct 1, 2021
11e4128
Merge branch 'runpy' of github.com:NNPDF/runcards into runpy
alecandido Oct 1, 2021
a163c79
Replace pineappl set usage with python interface
alecandido Oct 1, 2021
03665f8
Add update subcommand
alecandido Oct 1, 2021
9a2a98d
Revert original update script change
alecandido Oct 1, 2021
97a2d27
Detect if pipx available during install
alecandido Oct 1, 2021
e0ad221
Provide (untested) merge subcommand
alecandido Oct 2, 2021
0437b9f
Delete some old comment
felixhekhorn Oct 5, 2021
a3f8632
Extend prepend to unset variables
alecandido Oct 6, 2021
847c7db
Remove original grid after compression
alecandido Oct 7, 2021
7cca817
Remove avoid recomputing prompt
alecandido Oct 7, 2021
f1319b5
Support prefix missing environments
alecandido Oct 7, 2021
286f423
Add pylint and pass theory explicitly
felixhekhorn Oct 7, 2021
e3cc517
Merge branch 'runpy' of github.com:NNPDF/runcards into runpy
felixhekhorn Oct 7, 2021
287ca0d
Add explicit cached_property installation for python less than 3.7
alecandido Oct 7, 2021
89a393e
Merge branch 'runpy' of github.com:NNPDF/runcards into runpy
alecandido Oct 7, 2021
8c979a2
Resolve some name clash
felixhekhorn Oct 7, 2021
15f33fc
Fix finding the Python interpreter
cschwan Oct 7, 2021
c0e0d83
Try again on name clash
felixhekhorn Oct 7, 2021
fa7a4dd
Merge branch 'runpy' of github.com:NNPDF/runcards into runpy
felixhekhorn Oct 7, 2021
f7c0cd7
Revert "Fix finding the Python interpreter"
alecandido Oct 7, 2021
a197100
Remove interactivity from installation
alecandido Oct 7, 2021
14a263e
Provide LHAPDF installation
alecandido Oct 7, 2021
896b38c
Install poetry with install script
alecandido Oct 8, 2021
d56bd86
Switch Madgraph5 from 3.2.0 to 3.1.2
cschwan Oct 8, 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
154 changes: 154 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,155 @@
.prefix/
# ignore any folder like '<DATASET>-YYYYMMDDHHmmss'
*-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]/
# madgraph junk
py.py
additional_command

### Python
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
pytestdebug.log

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/
doc/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# poetry
#poetry.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
# .env
.env/
.venv/
env/
venv/
ENV/
env.bak/
venv.bak/
pythonenv*

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# operating system-related files
*.DS_Store #file properties cache/storage on macOS
Thumbs.db #thumbnail cache on Windows

# profiling data
.prof

# editor
.vim
18 changes: 18 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- repo: https://github.com/psf/black
rev: 21.6b0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.9.1
hooks:
- id: isort
args: ["--profile", "black"]
Loading