Commit f2e00b46 authored by Yannick Roehlly's avatar Yannick Roehlly
Browse files

Remove duplicate redshift in VO export

parent 78d5b6e1
......@@ -77,8 +77,7 @@ def save_sed_to_vo(sed, filename, norm=1.):
# If there is a stellar population then the norm factor is the stellar
# mass.
votable.infos.append(Info(name="Galaxy mass in Msun", value=norm))
for name, value in sorted(
if name in sed.mass_proportional_info:
votable.infos.append(Info(name=name, value=norm * value))
Supports Markdown
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