Skip to content

Commit

Permalink
test if these needed
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Nov 4, 2024
1 parent d3b16d1 commit 4f3cd39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cobaya/samplers/mcmc/mcmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ class MCMC(CovmatSampler):

# instance variables from yaml
burn_in: NumberWithUnits
learn_every: Union[NumberWithUnits, str]
output_every: Union[NumberWithUnits, str]
learn_every: NumberWithUnits
output_every: NumberWithUnits
callback_every: NumberWithUnits
temperature: float
max_tries: Union[NumberWithUnits, str]
max_tries: NumberWithUnits
max_samples: int
drag: bool
callback_function: Optional[Callable]
Expand Down
1 change: 0 additions & 1 deletion tests/test_mcmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ def test_mcmc_drag_results(temperature):


@pytest.mark.mpionly
@pytest.mark.skip("Setting 'max_samples' to a bad value raises an error which is not caught.")
def test_mcmc_sync():
info: InputDict = yaml_load(yaml)
logger.info('Test end synchronization')
Expand Down

0 comments on commit 4f3cd39

Please sign in to comment.