diff --git a/herdingspikes/hs2.py b/herdingspikes/hs2.py index c69df1b..9f32d99 100644 --- a/herdingspikes/hs2.py +++ b/herdingspikes/hs2.py @@ -492,7 +492,7 @@ def __init__(self, rec, params=None): self.num_segments = rec.get_num_segments() self.params = params self.params = detectDataLightning.DEFAULT_PARAMS - if self.params is not None: + if params is not None: self.params.update(params) self.out_file_name = self.params["out_file"] if self.params["chunk_size"] == None: