Skip to content

Commit fd3e9b4

Browse files
committed
changed default of None to 1
if the min_num_stft_windows is set to None the the value become 0, and therefore logic allows for 0 windows per decimation level which raises an error. Set default to 1, which eliminates 0 windows.
1 parent 1f4c864 commit fd3e9b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aurora/pipelines/transfer_function_kernel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def update_processing_summary(self):
316316
raise ValueError(msg)
317317

318318
def validate_decimation_scheme_and_dataset_compatability(
319-
self, min_num_stft_windows=None
319+
self, min_num_stft_windows=1
320320
):
321321
"""
322322
Checks that the decimation_scheme and dataset are compatable.

0 commit comments

Comments
 (0)