Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
Tentative fix for nVeto data call (#262)
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Gaemers <petergaemers@hotmail.com>
  • Loading branch information
ramirezdiego and petergaemers authored Nov 19, 2021
1 parent 0748ebe commit 92e81b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wfsim/strax_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -855,8 +855,9 @@ def compute(self):
exist_tpc_result, exist_nveto_result = False, False
for data_type in self.provides:
if 'nv' in data_type:
if len(result_nv[data_type.strip('_nv')]) > 0:
exist_nveto_result = True
if 'nveto' in self.config['targets']:
if len(result_nv[data_type.strip('_nv')]) > 0:
exist_nveto_result = True
else:
if len(result[data_type]) > 0:
exist_tpc_result = True
Expand Down

0 comments on commit 92e81b9

Please sign in to comment.