Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
cigale
CIGALE
Commits
f2e00b46
Commit
f2e00b46
authored
Dec 01, 2015
by
Yannick Roehlly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove duplicate redshift in VO export
parent
78d5b6e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
pcigale/sed/io/vo.py
pcigale/sed/io/vo.py
+1
-2
No files found.
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
Markdown
is supported
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