XENONnT / fuse

XENON Framework for Unified Simulations of Events
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

Add missing return to stop plugin in case of empty input #216

Closed HenningSE closed 5 months ago

HenningSE commented 6 months ago

What does the code in this PR do / what does it improve?

This PR fixes a problem with empty input chunks to the PMTResponseAndDAQ plugin. Before this fix, the iteration for empty chunks was not properly stoped leading to data not continuous problems.

Can you briefly describe how it works?

I added the missing return to the empty input case of the PMTResponseAndDAQ plugin.

Please include the following if applicable:

coveralls commented 6 months ago

Pull Request Test Coverage Report for Build 9107702936

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
fuse/plugins/pmt_and_daq/pmt_response_and_daq.py 1 2 50.0%
<!-- Total: 1 2 50.0% -->
Totals Coverage Status
Change from base Build 9107691937: -0.02%
Covered Lines: 2108
Relevant Lines: 2949

💛 - Coveralls