Commit 9058940d authored by Yannick Roehlly's avatar Yannick Roehlly
Browse files

Bug correction in Laure's Dale (2014) code.

The quasar contributions must contain the name of the attenuation used
because using several attenuations will lead to a key error when adding
the second quasar contribution.
parent 435cd87d
......@@ -92,7 +92,7 @@ class Module(common.SEDCreationModule):
)
sed.add_contribution(
'dale2014_quasar' + self.postfix,
'dale2014_quasar_' + attenuation + self.postfix,
self.model_quasar.wave,
frac_agn * sed.info[attenuation] * self.model_quasar.lumin
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment