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
Gregory Ashton
PyFstat
Commits
3e2a76ed
Commit
3e2a76ed
authored
Aug 17, 2017
by
Gregory Ashton
Browse files
Raise error if SSkyMetric fails
parent
e725132a
Changes
1
Hide whitespace changes
Inline
Side-by-side
pyfstat/optimal_setup_functions.py
View file @
3e2a76ed
...
...
@@ -214,8 +214,8 @@ def get_Nstar_estimate(
fiducial_freq
,
detectors
,
detector_weights
,
detector_motion
,
ephemeris
)
except
RuntimeError
as
e
:
logging
.
debu
g
(
'Encountered run-time error {}'
.
format
(
e
))
r
eturn
None
,
None
,
None
logging
.
warnin
g
(
'Encountered run-time error {}'
.
format
(
e
))
r
aise
RuntimeError
(
"Calculation of the SSkyMetric failed"
)
if
sky
:
i
=
0
...
...
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