Commit 7ee9c450 authored by Anika Treffehn's avatar Anika Treffehn
Browse files

Merge branch 'fix_bug_no_background_noise' into 'main'

Fix bug no background noise

See merge request !26
parents ba117c67 ad3c13b1
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -137,7 +137,11 @@ def main(args):
            # save process info to revert it later
            cfg.pre2 = cfg.proc_chains[0]["processes"][0]
            # preprocess background noise
            if hasattr(cfg, "preprocessing") and hasattr(cfg.pre2, "background_noise"):
            if (
                hasattr(cfg, "preprocessing")
                and hasattr(cfg.pre2, "background_noise")
                and cfg.pre2.background_noise is not None
            ):
                preprocess_background_noise(cfg)
            # preprocess 2
            preprocess_2(cfg, logger)