From bdb67b3fe2ab31598816347e40a6f046fd500649 Mon Sep 17 00:00:00 2001 From: LukasK13 Date: Thu, 18 Jun 2020 10:13:23 +0200 Subject: [PATCH] CosmicBackground added --- esbo_etc/classes/RadiantFactory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esbo_etc/classes/RadiantFactory.py b/esbo_etc/classes/RadiantFactory.py index 66b8ae3..67f138a 100644 --- a/esbo_etc/classes/RadiantFactory.py +++ b/esbo_etc/classes/RadiantFactory.py @@ -65,7 +65,7 @@ class RadiantFactory: if "obstruction" in attribs: attribs["obstruction"] = float(attribs["obstruction"]) class_ = getattr(oc, options.type) - if options.type in ["Atmosphere", "StrayLight", "Mirror", "Lens", "BeamSplitter"]: + if options.type in ["Atmosphere", "StrayLight", "CosmicBackground", "Mirror", "Lens", "BeamSplitter"]: return class_(**attribs) elif options.type == "Filter": if hasattr(options, "band"):