Commit 78d5b6e1 authored by Yannick Roehlly's avatar Yannick Roehlly
Browse files

Sort informations in best model VO file

When a best model is saved to a VO-table XML file, the SED information
and parameters stored in the file "headers" are now alphabetically
parent 06359187
......@@ -79,7 +79,7 @@ def save_sed_to_vo(sed, filename, norm=1.):
votable.infos.append(Info(name="Galaxy mass in Msun", value=norm))
for name, value in
for name, value in sorted(
if name in sed.mass_proportional_info:
votable.infos.append(Info(name=name, value=norm * value))
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