Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bilby
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Soumen Roy
bilby
Commits
32074018
Commit
32074018
authored
8 months ago
by
Colm Talbot
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: suppress dynesty warning
parent
a2f2a878
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bilby/core/sampler/dynesty.py
+8
-0
8 additions, 0 deletions
bilby/core/sampler/dynesty.py
with
8 additions
and
0 deletions
bilby/core/sampler/dynesty.py
+
8
−
0
View file @
32074018
...
...
@@ -3,6 +3,7 @@ import inspect
import
os
import
sys
import
time
import
warnings
import
numpy
as
np
from
pandas
import
DataFrame
...
...
@@ -677,10 +678,17 @@ class Dynesty(NestedSampler):
chain of nested samples within dynesty and have to be removed before
restarting the sampler.
"""
logger
.
debug
(
"
Running sampler with checkpointing
"
)
old_ncall
=
self
.
sampler
.
ncall
sampler_kwargs
=
self
.
sampler_function_kwargs
.
copy
()
warnings
.
filterwarnings
(
"
ignore
"
,
message
=
"
The sampling was stopped short due to maxiter/maxcall limit*
"
,
category
=
UserWarning
,
module
=
"
dynesty.sampler
"
,
)
while
True
:
self
.
finalize_sampler_kwargs
(
sampler_kwargs
)
self
.
sampler
.
run_nested
(
**
sampler_kwargs
)
...
...
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