ram1123 / nanoAOD_skim

nanoAOD skiming code for vv senile-tonic VBS studies
0 stars 9 forks source link

Protect if we give wrong year value #9

Open ram1123 opened 1 year ago

ram1123 commented 1 year ago

Currently, the code crashes if we provide the wrong year.

https://github.com/ram1123/nanoAOD_skim/blob/7e7653dc68018f2cb5a7d4fb7e6c843fe19f7ae3/post_proc.py#L43-L49

We need to add a protection for this.