HEP-FCC / FCCAnalyses

Common analysis framework for the Future Circular Collider
https://hep-fcc.github.io/FCCAnalyses/
24 stars 120 forks source link

Guard `sow_process` and `sow_process` #419

Closed kjvbrt closed 1 week ago

kjvbrt commented 2 weeks ago

if do_weighted is False lists sow_process and sow_process do not exists, which crashes here:

https://github.com/HEP-FCC/FCCAnalyses/blob/de8c9eb439955538e419a85568a0c5a4979facb5/python/run_final_analysis.py#L304-L305