Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
4ca68cb
Update README.md to make example analysis from ghent group
maadcoen Apr 3, 2024
5fccc74
Update create_analysis.sh to point to ghent git locations
maadcoen Apr 3, 2024
3275087
Update create_analysis.sh: error in location of columnflow on ghent g…
maadcoen Apr 3, 2024
10f5b35
Update .gitmodules with absolute git paths for law and order
maadcoen Apr 3, 2024
8994af8
Update law.cfg with t2b MC location
maadcoen Apr 3, 2024
f0624fc
ghent_template added
Apr 3, 2024
54cd089
README.md updated with columnflow location on GhentAnalysis github
maadcoen Apr 3, 2024
0ec05ae
create_analysis.sh updated with columnflow location on GhentAnalysis …
maadcoen Apr 3, 2024
fd907c5
add ghent_template to the analysis flavors
maadcoen Apr 3, 2024
53da5d6
bugfix: :7999/ is part of gitlab prefix
maadcoen Apr 3, 2024
7b8fe4b
chunked_io_debug: True for more information on errors occuring inside…
maadcoen Apr 4, 2024
24ca7f8
Edit the columnflow_patches.py to remove htcondor_flavor and max_runtime
maadcoen Apr 4, 2024
51c162d
Add the path to t2b servers so that files can be read from there
maadcoen Apr 4, 2024
abad1a1
add POG json to external files.
maadcoen Apr 4, 2024
7d6665b
fetch from pog_externals
maadcoen Apr 4, 2024
c078b55
fetch from pog_externals (also in readme)
maadcoen Apr 4, 2024
a8e8c12
auto removal of line 6 "/ada_mnt/ada"
maadcoen Apr 4, 2024
60f6fbb
auto removal of line 6 "/ada_mnt/ada"
maadcoen Apr 4, 2024
250bcae
removed bugs in external files specifications
maadcoen Apr 4, 2024
dc74117
added target directory to law.cfg
maadcoen Apr 4, 2024
5cfc4b0
Merge branch 'main' into pog_externals
maadcoen Apr 4, 2024
d27cb87
change to 2018 since tt_sl NanoAOD is not yet available on t2b
maadcoen Apr 4, 2024
b7cabce
Merge branch 'main' into pog_externals
maadcoen Apr 4, 2024
21d94ec
addition structure ghent_template (to be tested)
Apr 4, 2024
cf9ef14
changed to law.cfg (added save location and modules)
Apr 4, 2024
754a317
fix awkward import and add cutflow_features
Apr 4, 2024
0606baa
golden json names are incosistent over the years :(
maadcoen Apr 4, 2024
1bbcf72
ecm in names cannot have trailing zeros
maadcoen Apr 4, 2024
d3c67b4
remove dummy lepton fakerates
maadcoen Apr 4, 2024
66cea48
change default dataset to tt_dl_powheg
Apr 4, 2024
87f6940
fixed naming increment_stats
Apr 4, 2024
622fbbf
bug fixes to template
Apr 4, 2024
6ba299b
name changes to folders
Apr 5, 2024
60b4e1e
add patch_htcondor_workflow to patch_all()
Apr 5, 2024
a194545
Merge branch 'main' into pog_externals
maadcoen Apr 5, 2024
195f180
corrected mistakes in exertal file specification
maadcoen Apr 5, 2024
625e071
removed analysis___cf_short_name_lc__.py in favour of config___cf_sho…
maadcoen Apr 5, 2024
bce6d88
remove jsonpog-integration as submodule, use cvmfs instead
maadcoen Apr 5, 2024
75e6b92
Update create_analysis.sh
maadcoen Apr 5, 2024
2d84f4f
Merge pull request #1 from GhentAnalysis/maadcoen-patch-1
maadcoen Apr 5, 2024
91fcb44
Update README.md
maadcoen Apr 5, 2024
e82982d
pile up scale factors are now provided centrally by the POGs, no in s…
maadcoen Apr 5, 2024
a9186ba
Merge remote-tracking branch 'origin/main'
maadcoen Apr 5, 2024
08baba5
addition object_selection function
Apr 5, 2024
4a7378b
remove bugs in selections
maadcoen Apr 5, 2024
2ab94a8
added n_jets to auxiliaries
maadcoen Apr 5, 2024
a7a0166
removed btag scalefactors for now (we want wp rather then shape corre…
maadcoen Apr 5, 2024
bc45745
added all used function to uses
maadcoen Apr 5, 2024
53a955e
removed btagging stats necessary for b-tagging shape correction (we'r…
maadcoen Apr 5, 2024
a23ca6e
year used before definition
maadcoen Apr 5, 2024
bc24ba2
updated readme.md for Ghent specific context
maadcoen Apr 5, 2024
e8a0575
updated readme.md for Ghent template
maadcoen Apr 5, 2024
193642b
updated readme.md for Ghent template
maadcoen Apr 5, 2024
111197c
Update README.md
maadcoen Apr 5, 2024
c6a4a10
Update README.md
maadcoen Apr 5, 2024
daf6985
math trial README.md
maadcoen Apr 5, 2024
abdb3cd
Merge remote-tracking branch 'origin/main'
maadcoen Apr 5, 2024
991e998
electron object selection
maadcoen Apr 5, 2024
f56f518
electron object selection
maadcoen Apr 5, 2024
7c7708e
electron object selection
maadcoen Apr 5, 2024
78923d7
electron object selection
maadcoen Apr 5, 2024
a5aeb33
electron object selection
maadcoen Apr 5, 2024
12b8db8
electron object selection
maadcoen Apr 5, 2024
ccec828
electron object selection
maadcoen Apr 5, 2024
8e2f2a5
electron object selection
maadcoen Apr 5, 2024
faf0c0e
electron object selection
maadcoen Apr 5, 2024
6d588fa
removed redefinition of jec_nominal (already defined in columnflow.ca…
maadcoen Apr 9, 2024
33f68a9
fixed syntax mistake in decorator
maadcoen Apr 9, 2024
eda448c
removed CR_WZ from regions (ttZ specific)
maadcoen Apr 9, 2024
09bd65f
mu_mask_loose > mu_mask
maadcoen Apr 9, 2024
4863e1b
Template readme (#2)
maadcoen Apr 9, 2024
45cc07e
removed unncessary array stored in steps in muon selection
maadcoen Apr 9, 2024
3f26b32
tt_dl > tt_dl_powheg for datasets
maadcoen Apr 9, 2024
f6a8232
shorted dataset listing
maadcoen Apr 9, 2024
ecf13c2
Update README.md
maadcoen Apr 9, 2024
6adcc6d
Update README.md
maadcoen Apr 9, 2024
06d0387
shorted dataset listing (correction)
maadcoen Apr 9, 2024
8def566
Update README.md
maadcoen Apr 9, 2024
645360d
added missing background xsec
maadcoen Apr 10, 2024
bd900af
added missing background xsec: bugfix
maadcoen Apr 10, 2024
62485dd
Merge remote-tracking branch 'origin/template_readme' into template_r…
maadcoen Apr 10, 2024
c7bad86
Merge branch 'template_readme'
maadcoen Apr 10, 2024
1aab215
Update README.md
maadcoen Apr 10, 2024
30b0916
file for columnar function defined in Ghent CMS group (added TetraVec…
maadcoen Apr 11, 2024
b07b122
Merge branch 'main' of github.com:GhentAnalysis/columnflow
maadcoen Apr 11, 2024
9eb4f57
wlcg_fs point to lxplus nanoaod
maadcoen Apr 11, 2024
e830221
directories in columnflow to share ghent made code
maadcoen Apr 12, 2024
341b721
adapted cutflow plot allowing for fractional cutflows (#4)
maadcoen Apr 12, 2024
344e505
fixed bux for non relative Cutflowplot
maadcoen Apr 17, 2024
fee6afb
missing order import
maadcoen Apr 23, 2024
6a8cfea
reference to non-existing "features" function (should be "default")
maadcoen Apr 23, 2024
a1e4572
removed usage of undefined set_ak_column_f32, meant as short-hand for…
maadcoen Apr 23, 2024
a3e45f9
don't hard code ecm (take from campaign instead)
maadcoen Apr 23, 2024
fe4bb06
cutflow_features should take SelectionResult
maadcoen Apr 23, 2024
75b8ca2
bugfixes and new tasks (#5)
maadcoen Apr 24, 2024
1f149ad
added veto producer and apply it in the EventSelection task. Ignore v…
maadcoen Apr 25, 2024
23010b2
use veto in template:
maadcoen Apr 25, 2024
6396941
write veto after performing selection task
maadcoen Apr 25, 2024
02d8904
veto events in selection task
maadcoen Apr 25, 2024
de55025
add ReadDataSets to law.cfg
maadcoen Apr 26, 2024
7079672
Merge pull request #7 from GhentAnalysis/columnflow_central
maadcoen May 15, 2024
33efcfa
Cutflow dev (#8)
maadcoen May 15, 2024
3eb4506
centering discrete x values
JanvanderLinden May 17, 2024
edf6051
Merge pull request #9 from GhentAnalysis/dev/discrete_x
maadcoen May 17, 2024
75b0ca7
implementation top lepton MVA
maadcoen May 17, 2024
53f870b
Cutflow dev (#10)
maadcoen May 17, 2024
1c54210
Merge branch 'main' into leptonMVA
maadcoen May 17, 2024
a3b3e7b
add environment requirement to lepton_mva_producer description
maadcoen May 17, 2024
4c943f6
Update gen_features.py
maadcoen May 21, 2024
2905bdb
Merge pull request #11 from GhentAnalysis/leptonMVA
maadcoen May 21, 2024
921ef00
check whether has fields as attributes, not in fields (because might …
maadcoen May 21, 2024
c923119
don't sort in case selector steps are None
maadcoen May 21, 2024
50bf63c
point to correct location of inherited file
maadcoen May 21, 2024
4891c5f
typo removed
maadcoen May 21, 2024
9175a49
Merge branch 'main' of github.com:GhentAnalysis/columnflow
maadcoen May 21, 2024
c40925e
add producers parameter to ProduceColumnsWrapper
mafrahm May 2, 2024
9490820
customize muon_weights output column names
mafrahm May 13, 2024
6b3d76f
allow customizing supported versions
mafrahm May 14, 2024
b3c7cdd
change muon weight_name attribute to simple string
mafrahm May 17, 2024
32cf8bf
add parsing of tuples for Settings and MultiSettings
mafrahm Apr 19, 2024
6ca46f6
allow parsing complex numbers
mafrahm Apr 19, 2024
f659084
fix serializing of SettingsParameter
mafrahm Apr 19, 2024
a5c3640
add slicing of histograms
mafrahm Apr 19, 2024
0324c2a
add class attribute for SettingsParameter delimiters
mafrahm May 17, 2024
18077ac
fix in selector_steps default handling
maadcoen May 23, 2024
7998fac
Merge branch 'main' of github.com:GhentAnalysis/columnflow into main
maadcoen May 23, 2024
5684b8e
added recursive concatentation in case of large amount of arrays. Awk…
maadcoen May 23, 2024
acf3e31
deal with case where no leptons are present
maadcoen May 28, 2024
daa7f4f
update to custom_lfn function
May 30, 2024
a897f63
correcting arguments
May 30, 2024
1c77e9a
Merge pull request #12 from GhentAnalysis/awkward_concat_fix
JanvanderLinden Jun 3, 2024
f3636f8
Merge pull request #13 from datikavt/custom_datasets
JanvanderLinden Jun 4, 2024
424e152
add custom x tick labels
JanvanderLinden Jun 4, 2024
8493bd3
classes for easy access to CMS color schemes + custom ones
JanvanderLinden Aug 14, 2024
89bef61
indexing possible
JanvanderLinden Aug 14, 2024
5119f96
grey for 10
JanvanderLinden Aug 14, 2024
2a12157
linto
JanvanderLinden Aug 14, 2024
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
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[submodule "modules/law"]
path = modules/law
url = ../../riga/law.git
url = https://github.com/riga/law.git

[submodule "modules/order"]
path = modules/order
url = ../../riga/order.git
url = https://github.com/riga/order.git
65 changes: 10 additions & 55 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,37 +33,30 @@

Backend for columnar, fully orchestrated HEP analyses with pure Python, [law](https://github.com/riga/law) and [order](https://github.com/riga/order).

Original source hosted at [GitHub](https://github.com/columnflow/columnflow).
This project is for use within the Ghent CMS group. Original source hosted at [GitHub](https://github.com/columnflow/columnflow).

<!-- marker-after-header -->

<!-- marker-before-note -->

## Note on current development

This project is currently in a beta phase.
The project setup, suggested workflows, definitions of particular tasks, and the signatures of various helper classes and functions are mostly frozen but could still be subject to changes in the near future.
At this point (July 2023), four large-scale analyses based upon columnflow are being developed, and in the process, help test and verify various aspects of its core.
The first released version is expected in the fall of 2023.
However, if you would like to join early on, contribute or just give it a spin, feel free to get in touch!

<!-- marker-after-note -->

<!-- marker-before-analytics -->

![Columnflow analytics](https://repobeats.axiom.co/api/embed/b6ebc5ba41019de55eb48e195eecb438890442c8.svg "Columnflow analytics")
![Alt](https://repobeats.axiom.co/api/embed/8cca127835f18d377e3a691220ae296ac9c80d49.svg "Columnflow Ghent analytics")

<!-- marker-after-analytics -->

<!-- marker-before-body -->

## Quickstart

To create an analysis using columnflow, it is recommended to start from a predefined template (located in [analysis_templates](https://github.com/columnflow/columnflow/tree/master/analysis_templates)).
To create an analysis using columnflow, it is recommended to start from a predefined template (located in [analysis_templates](https://github.com/GhentAnalysis/columnflow/tree/main/analysis_templates)).
The following command (no previous git clone required) interactively asks for a handful of names and settings, and creates a minimal, yet fully functioning project structure for you!
The 'cms_minimal' flavor corresponds to the template provided by columnflow itself. 'Ghent_template' provides a more extensive example.

```shell
bash -c "$(curl -Ls https://raw.githubusercontent.com/columnflow/columnflow/master/create_analysis.sh)"
bash -c "$(curl -Ls https://raw.githubusercontent.com/GhentAnalysis/columnflow/main/create_analysis.sh)"
```

At the end of the setup, you will see further instructions and suggestions to run your first analysis tasks (example below).
Expand All @@ -86,7 +79,7 @@ Setup successfull! The next steps are:

Suggestions for tasks to run:

a) Run the 'calibration -> selection -> reduction' pipeline for the first file of the
a) Run the 'calibration -> selection -> reduction' pipeline for the first file (--branch 0) of the
default dataset using the default calibrator and default selector
(enter the command below and 'tab-tab' to see all arguments or add --help for help)
> law run cf.ReduceEvents --version dev1 --branch 0
Expand All @@ -108,52 +101,14 @@ Setup successfull! The next steps are:
For a better overview of the tasks that are triggered by the commands below, checkout the current (yet stylized) [task graph](https://github.com/columnflow/columnflow/wiki#default-task-graph).


## Projects using columnflow

- [hh2bbtautau](https://github.com/uhh-cms/hh2bbtautau): HH → bb𝜏𝜏 analysis with CMS.
- [hh2bbww](https://github.com/uhh-cms/hh2bbww): HH → bbWW analysis with CMS.
- [topmass](https://github.com/uhh-cms/topmass): Top quark mass measurement with CMS.
- [mttbar](https://github.com/uhh-cms/mttbar): Search for heavy resonances in ttbar events with CMS.
- [analysis playground](https://github.com/uhh-cms/analysis_playground): A testing playground for HEP analyses.


## Contributors

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/riga"><img src="https://avatars.githubusercontent.com/u/1908734?v=4?s=100" width="100px;" alt="Marcel Rieger"/><br /><sub><b>Marcel Rieger</b></sub></a><br /><a href="https://github.com/columnflow/columnflow/commits?author=riga" title="Code">💻</a> <a href="https://github.com/columnflow/columnflow/pulls?q=is%3Apr+reviewed-by%3Ariga" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/columnflow/columnflow/commits?author=riga" title="Documentation">📖</a> <a href="https://github.com/columnflow/columnflow/commits?author=riga" title="Tests">⚠️</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mafrahm"><img src="https://avatars.githubusercontent.com/u/49306645?v=4?s=100" width="100px;" alt="Mathis Frahm"/><br /><sub><b>Mathis Frahm</b></sub></a><br /><a href="https://github.com/columnflow/columnflow/commits?author=mafrahm" title="Code">💻</a> <a href="https://github.com/columnflow/columnflow/pulls?q=is%3Apr+reviewed-by%3Amafrahm" title="Reviewed Pull Requests">👀</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/dsavoiu"><img src="https://avatars.githubusercontent.com/u/17005255?v=4?s=100" width="100px;" alt="Daniel Savoiu"/><br /><sub><b>Daniel Savoiu</b></sub></a><br /><a href="https://github.com/columnflow/columnflow/commits?author=dsavoiu" title="Code">💻</a> <a href="https://github.com/columnflow/columnflow/pulls?q=is%3Apr+reviewed-by%3Adsavoiu" title="Reviewed Pull Requests">👀</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/pkausw"><img src="https://avatars.githubusercontent.com/u/26219567?v=4?s=100" width="100px;" alt="pkausw"/><br /><sub><b>pkausw</b></sub></a><br /><a href="https://github.com/columnflow/columnflow/commits?author=pkausw" title="Code">💻</a> <a href="https://github.com/columnflow/columnflow/pulls?q=is%3Apr+reviewed-by%3Apkausw" title="Reviewed Pull Requests">👀</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/nprouvost"><img src="https://avatars.githubusercontent.com/u/49162277?v=4?s=100" width="100px;" alt="nprouvost"/><br /><sub><b>nprouvost</b></sub></a><br /><a href="https://github.com/columnflow/columnflow/commits?author=nprouvost" title="Code">💻</a> <a href="https://github.com/columnflow/columnflow/commits?author=nprouvost" title="Tests">⚠️</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Bogdan-Wiederspan"><img src="https://avatars.githubusercontent.com/u/79155113?v=4?s=100" width="100px;" alt="Bogdan-Wiederspan"/><br /><sub><b>Bogdan-Wiederspan</b></sub></a><br /><a href="https://github.com/columnflow/columnflow/commits?author=Bogdan-Wiederspan" title="Code">💻</a> <a href="https://github.com/columnflow/columnflow/commits?author=Bogdan-Wiederspan" title="Tests">⚠️</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/kramerto"><img src="https://avatars.githubusercontent.com/u/18616159?v=4?s=100" width="100px;" alt="Tobias Kramer"/><br /><sub><b>Tobias Kramer</b></sub></a><br /><a href="https://github.com/columnflow/columnflow/commits?author=kramerto" title="Code">💻</a> <a href="https://github.com/columnflow/columnflow/pulls?q=is%3Apr+reviewed-by%3Akramerto" title="Reviewed Pull Requests">👀</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mschrode"><img src="https://avatars.githubusercontent.com/u/5065234?v=4?s=100" width="100px;" alt="Matthias Schroeder"/><br /><sub><b>Matthias Schroeder</b></sub></a><br /><a href="https://github.com/columnflow/columnflow/commits?author=mschrode" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jolange"><img src="https://avatars.githubusercontent.com/u/6584443?v=4?s=100" width="100px;" alt="Johannes Lange"/><br /><sub><b>Johannes Lange</b></sub></a><br /><a href="https://github.com/columnflow/columnflow/commits?author=jolange" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/BalduinLetzer"><img src="https://avatars.githubusercontent.com/u/70058868?v=4?s=100" width="100px;" alt="BalduinLetzer"/><br /><sub><b>BalduinLetzer</b></sub></a><br /><a href="https://github.com/columnflow/columnflow/commits?author=BalduinLetzer" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/JanekMoels"><img src="https://avatars.githubusercontent.com/u/116348923?v=4?s=100" width="100px;" alt="JanekMoels"/><br /><sub><b>JanekMoels</b></sub></a><br /><a href="#ideas-JanekMoels" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/haddadanas"><img src="https://avatars.githubusercontent.com/u/103462379?v=4?s=100" width="100px;" alt="haddadanas"/><br /><sub><b>haddadanas</b></sub></a><br /><a href="https://github.com/columnflow/columnflow/commits?author=haddadanas" title="Code">💻</a></td>
</tr>
</tbody>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification.
## Other projects and original developers

You can find a list of other projects using columnflow on the [original github](https://github.com/columnflow/columnflow).
The main contributors to columnflow are also listed there.

## Development

- Source hosted at [GitHub](https://github.com/columnflow/columnflow)
- Report issues, questions, feature requests on [GitHub Issues](https://github.com/columnflow/columnflow/issues)
- Report issues, questions, feature requests for columnflow to [GitHub Issues](https://github.com/columnflow/columnflow/issues)

<!-- marker-after-body -->
18 changes: 15 additions & 3 deletions analysis_templates/cms_minimal/law.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ log_array_function_runtime: False
[outputs]

# list of all used file systems
wlcg_file_systems: wlcg_fs, wlcg_fs_infn_redirector, wlcg_fs_global_redirector
wlcg_file_systems: wlcg_fs_t2b_redirector, wlcg_fs, wlcg_fs_infn_redirector, wlcg_fs_global_redirector

# list of file systems used by columnflow.tasks.external.GetDatasetLFNs.iter_nano_files to
# look for the correct fs per nano input file (in that order)
lfn_sources: wlcg_fs_infn_redirector, wlcg_fs_global_redirector
lfn_sources: wlcg_fs_t2b_redirector, wlcg_fs_infn_redirector, wlcg_fs_global_redirector

# output locations per task family
# for local targets : "local[, LOCAL_FS_NAME or STORE_PATH]"
Expand Down Expand Up @@ -101,10 +101,22 @@ remote_lcg_setup: /cvmfs/grid.cern.ch/centos7-ui-200122/etc/profile.d/setup-c7-u
base: /


[wlcg_fs_t2b_redirector]

# set this to your desired location
base: /pnfs/iihe/cms/ph/sc4
use_cache: $CF_WLCG_USE_CACHE
cache_root: $CF_WLCG_CACHE_ROOT
cache_cleanup: $CF_WLCG_CACHE_CLEANUP
cache_max_size: 15GB
cache_global_lock: True
cache_mtime_patience: -1


[wlcg_fs]

# set this to your desired location
base: root://eosuser.cern.ch/eos/user/$CF_CERN_USER_FIRSTCHAR/$CF_CERN_USER/$CF_STORE_NAME
base: root://eosuser.cern.ch//eos/cms
create_file_dir: True
use_cache: $CF_WLCG_USE_CACHE
cache_root: $CF_WLCG_CACHE_ROOT
Expand Down
10 changes: 10 additions & 0 deletions analysis_templates/ghent_template/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[flake8]

# line length of 100 is recommended, but set it to a forgiving value
max-line-length = 120

# codes of errors to ignore
ignore = E128, E306, E402, E722, E731, W504, Q003

# enforce double quotes
inline-quotes = double
5 changes: 5 additions & 0 deletions analysis_templates/ghent_template/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.jpeg filter=lfs diff=lfs merge=lfs -text
*.root filter=lfs diff=lfs merge=lfs -text
38 changes: 38 additions & 0 deletions analysis_templates/ghent_template/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
*.sublime-project
*.sublime-workspace
*.pyc
*.log
*.DS_Store
*.egg-info
*.pkl
*.pdf
*.png
*.root
*.npy
*.npz
*.h5
*.hdf5
*.json
*.yaml
*.pb
*.out
*.parquet
.env_*.sh
.env_*.sh.tmp
.coverage
coverage*.xml
requirements_user.txt
__pycache__
dist
build
static
docs/_build
tmp
store
software
data
.data
.law
.setups
.mypy_cache
.vscode
Loading