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
Guang
x-cigale
Commits
1ab6826f
Commit
1ab6826f
authored
Jul 26, 2019
by
Yannick Roehlly
Browse files
[bug] Correct ID joining
parent
7bf6e22b
Changes
1
Hide whitespace changes
Inline
Side-by-side
pcigale/managers/results.py
View file @
1ab6826f
...
...
@@ -310,7 +310,7 @@ class BestResultsManager(object):
"""
# If no best model has been found, it means none could be properly
# fitted. We warn the user in that case
bad
=
self
.
obs
.
table
[
'id'
][
np
.
isnan
(
self
.
chi2
)]
.
tolist
()
bad
=
[
str
(
id_
)
for
id_
in
self
.
obs
.
table
[
'id'
][
np
.
isnan
(
self
.
chi2
)]
]
if
len
(
bad
)
>
0
:
print
(
f
"No suitable model found for
{
', '
.
join
(
bad
)
}
. It may be "
f
"that models are older than the universe or that your χ² are"
...
...
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