XENON1T / processing

Processing scripts for XENON data
Apache License 2.0
0 stars 4 forks source link

Update No PMT AP configs #62

Closed ctherreau closed 6 years ago

ctherreau commented 6 years ago

With each_pmt_afterpulse_types = None

This error occurs : if 'each_pmt_afterpulse_types' in self.config and channel in self.config['each_pmt_afterpulse_types']: TypeError: argument of type 'NoneType' is not iterable

Change to each_pmt_afterpulse_types = {} solves it (thanks Joey for the help).

zhut19 commented 6 years ago

This pr solved the problem causing error in this line. @ctherreau thanks for the fix.