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
b32466eb
Commit
b32466eb
authored
6 years ago
by
Moritz Huebner
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Switched on checkpointing by default in cpnest"
This reverts commit
cba643d4
parent
cba643d4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!387
Revert "Switched on checkpointing by default in cpnest"
Pipeline
#50766
passed
6 years ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+0
-1
0 additions, 1 deletion
CHANGELOG.md
bilby/core/sampler/cpnest.py
+2
-2
2 additions, 2 deletions
bilby/core/sampler/cpnest.py
test/sampler_test.py
+1
-1
1 addition, 1 deletion
test/sampler_test.py
with
3 additions
and
4 deletions
CHANGELOG.md
+
0
−
1
View file @
b32466eb
...
...
@@ -14,7 +14,6 @@
-
Use pickling to store the dynesty resume file and add a write-to-resume on SIGINT/SIGKILL
-
Bug fix in ROQ likelihood
-
Distance and phase marginalisation work with ROQ likelihood
-
Cpnest now creates checkpoints (resume files) by default
### Removed
-
...
...
This diff is collapsed.
Click to expand it.
bilby/core/sampler/cpnest.py
+
2
−
2
View file @
b32466eb
...
...
@@ -28,7 +28,7 @@ class Cpnest(NestedSampler):
The maximum number of MCMC steps to take
verbose: Bool (True)
If true, print information information about the convergence during
resume: Bool (
Tru
e)
resume: Bool (
Fals
e)
Whether or not to resume from a previous run
output: str
Where to write the CPNest, by default this is
...
...
@@ -36,7 +36,7 @@ class Cpnest(NestedSampler):
"""
default_kwargs
=
dict
(
verbose
=
1
,
nthreads
=
1
,
nlive
=
500
,
maxmcmc
=
1000
,
seed
=
None
,
poolsize
=
100
,
nhamiltonian
=
0
,
resume
=
Tru
e
,
seed
=
None
,
poolsize
=
100
,
nhamiltonian
=
0
,
resume
=
Fals
e
,
output
=
None
)
def
_translate_kwargs
(
self
,
kwargs
):
...
...
This diff is collapsed.
Click to expand it.
test/sampler_test.py
+
1
−
1
View file @
b32466eb
...
...
@@ -112,7 +112,7 @@ class TestCPNest(unittest.TestCase):
def
test_default_kwargs
(
self
):
expected
=
dict
(
verbose
=
1
,
nthreads
=
1
,
nlive
=
500
,
maxmcmc
=
1000
,
seed
=
None
,
poolsize
=
100
,
nhamiltonian
=
0
,
resume
=
Tru
e
,
seed
=
None
,
poolsize
=
100
,
nhamiltonian
=
0
,
resume
=
Fals
e
,
output
=
'
outdir/cpnest_label/
'
)
self
.
assertDictEqual
(
expected
,
self
.
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