Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bilby
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lscsoft
bilby
Merge requests
!421
Three minor additions to help debugging and bilby_pipe
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Three minor additions to help debugging and bilby_pipe
minor-bug-fixes
into
master
Overview
0
Commits
1
Pipelines
1
Changes
2
Merged
Gregory Ashton
requested to merge
minor-bug-fixes
into
master
6 years ago
Overview
0
Commits
1
Pipelines
1
Changes
2
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
6b003a46
1 commit,
6 years ago
2 files
+
3
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
bilby/core/sampler/dynesty.py
+
2
−
1
Options
@@ -310,8 +310,8 @@ class Dynesty(NestedSampler):
return
False
def
write_current_state_and_exit
(
self
,
signum
=
None
,
frame
=
None
):
logger
.
warning
(
"
Run terminated with signal {}
"
.
format
(
signum
))
self
.
write_current_state
()
logger
.
warning
(
"
Run terminated
"
)
sys
.
exit
()
def
write_current_state
(
self
):
@@ -331,6 +331,7 @@ class Dynesty(NestedSampler):
NestedSampler to write to disk.
"""
check_directory_exists_and_if_not_mkdir
(
self
.
outdir
)
logger
.
info
(
"
Writing checkpoint file {}
"
.
format
(
self
.
resume_file
))
current_state
=
dict
(
unit_cube_samples
=
self
.
sampler
.
saved_u
,
Loading