Commit 6aa1aa43 authored by Davide Fazzini's avatar Davide Fazzini
Browse files

small change

parent 05af951d
Pipeline #3759373 passed with stages
in 26 seconds
......@@ -417,6 +417,6 @@ def filter_on(location, decay_descriptor=None, bank_type=None):
data: TES location of the particles that are loaded from the input samples
"""
data = make_data_with_FetchDataFromFile(location, bank_type=bank_type)
if decay_descriptor is not None:
if decay_descriptor:
data = apply_algorithm([data], FilterDecays, Code=decay_descriptor)
return data
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment