Loading ivas_processing_scripts/generation/__init__.py +1 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,7 @@ def main(args): fs=cfg.fs, preamble=cfg.preamble, postamble=cfg.postamble, add_low_level_random_noise=cfg.get("add_low_level_random_noise", False), add_low_level_random_noise=getattr(cfg, "add_low_level_random_noise", False), # TODO@VM dict.get() can provide a default value if the key is not found # please check if this is a viable solution - I kept getting "AttributeError: 'TestConfig' object has no attribute 'add_low_level_random_noise'" ) Loading Loading
ivas_processing_scripts/generation/__init__.py +1 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,7 @@ def main(args): fs=cfg.fs, preamble=cfg.preamble, postamble=cfg.postamble, add_low_level_random_noise=cfg.get("add_low_level_random_noise", False), add_low_level_random_noise=getattr(cfg, "add_low_level_random_noise", False), # TODO@VM dict.get() can provide a default value if the key is not found # please check if this is a viable solution - I kept getting "AttributeError: 'TestConfig' object has no attribute 'add_low_level_random_noise'" ) Loading