Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cigale
CIGALE
Commits
f2e00b46
Commit
f2e00b46
authored
Dec 01, 2015
by
Yannick Roehlly
Browse files
Remove duplicate redshift in VO export
parent
78d5b6e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
pcigale/sed/io/vo.py
View file @
f2e00b46
...
...
@@ -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
))
votable
.
infos
.
append
(
Info
(
name
=
"Redshift"
,
value
=
sed
.
info
[
'universe.redshift'
]))
for
name
,
value
in
sorted
(
sed
.
info
.
items
()):
if
name
in
sed
.
mass_proportional_info
:
votable
.
infos
.
append
(
Info
(
name
=
name
,
value
=
norm
*
value
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment