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
Commits
179660dc
Commit
179660dc
authored
5 years ago
by
Gregory Ashton
Browse files
Options
Downloads
Patches
Plain Diff
Shift info messages slightly
parent
d694231d
No related branches found
No related tags found
1 merge request
!480
Minor adjustments to dynesty
Pipeline
#60354
passed
5 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bilby/core/sampler/dynesty.py
+2
-3
2 additions, 3 deletions
bilby/core/sampler/dynesty.py
with
2 additions
and
3 deletions
bilby/core/sampler/dynesty.py
+
2
−
3
View file @
179660dc
...
...
@@ -295,9 +295,8 @@ class Dynesty(NestedSampler):
state is mostly written back to disk.
"""
logger
.
info
(
"
Reading resume file {}
"
.
format
(
self
.
resume_file
))
if
os
.
path
.
isfile
(
self
.
resume_file
):
logger
.
info
(
"
Reading resume file {}
"
.
format
(
self
.
resume_file
))
with
open
(
self
.
resume_file
,
'
rb
'
)
as
file
:
saved
=
pickle
.
load
(
file
)
logger
.
info
(
...
...
@@ -330,7 +329,7 @@ class Dynesty(NestedSampler):
else
:
logger
.
debug
(
"
Failed to read
resume file {}
"
.
format
(
self
.
resume_file
))
"
No
resume file {}
"
.
format
(
self
.
resume_file
))
return
False
def
write_current_state_and_exit
(
self
,
signum
=
None
,
frame
=
None
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment