Commit 4c12dc2e authored by Médéric Boquien's avatar Médéric Boquien

Directly pass a string to the unit, not a variable.

parent 031d63e1
Pipeline #2114 skipped with stage
......@@ -319,7 +319,7 @@ class CalzLeit(SedModule):
if 'dust.luminosity' in sed.info:
sed.add_info("dust.luminosity",
sed.info["dust.luminosity"]+attenuation_total, True,
True, unit=W)
True, unit='W')
else:
sed.add_info("dust.luminosity", attenuation_total, True, unit='W')
......
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