Commit 2fe65c74 authored by Anika Treffehn's avatar Anika Treffehn
Browse files

added one condition is if

parent c03ac513
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -137,7 +137,7 @@ 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)