Commit 05af951d authored by Abhijit Mathad's avatar Abhijit Mathad
Browse files

decay descriptor code change.

parent 7f526451
Pipeline #3759185 passed with stages
in 24 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 not decay_descriptor:
if decay_descriptor is not None:
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