diff --git a/aurora/pipelines/transfer_function_kernel.py b/aurora/pipelines/transfer_function_kernel.py index f0f5951e..bee29517 100644 --- a/aurora/pipelines/transfer_function_kernel.py +++ b/aurora/pipelines/transfer_function_kernel.py @@ -299,9 +299,15 @@ def make_processing_summary(self): print(group) print(df) try: - assert ( - df.dec_level.diff()[1:] == 1 - ).all() # dec levels increment by 1 + try: + assert ( + df.dec_level.diff()[1:] == 1 + ).all() # dec levels increment by 1 + except AssertionError: + print( + f"Skipping {group} because decimation levels are messy." + ) + continue assert df.dec_factor.iloc[0] == 1 assert df.dec_level.iloc[0] == 0 except AssertionError: