We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4225da9 commit 955db76Copy full SHA for 955db76
1 file changed
src/MEArec/cli.py
@@ -405,6 +405,9 @@ def gen_recordings(params, **kwargs):
405
if kwargs["filt_cutoff"] is not None:
406
if isinstance(kwargs["filt_cutoff"], tuple):
407
kwargs["filt_cutoff"] = list(kwargs["filt_cutoff"])
408
+ # for high-pass filter, make a scalar
409
+ if len(kwargs["filt_cutoff"]) == 1:
410
+ kwargs["filt_cutoff"] = kwargs["filt_cutoff"][0]
411
params_dict["recordings"]["filter_cutoff"] = kwargs["filt_cutoff"]
412
if kwargs["filt_order"] is not None:
413
params_dict["recordings"]["filt_order"] = kwargs["filt_order"]
0 commit comments