Skip to content

Commit 805da5e

Browse files
committed
Merge branch 'develop' of https://github.com/stan-dev/cmdstanpy into develop
2 parents 6d4c3f0 + c35d42d commit 805da5e

33 files changed

Lines changed: 1435 additions & 971 deletions

.pylintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ disable=bad-continuation,
7676
consider-using-with,
7777
consider-using-dict-items,
7878
unspecified-encoding,
79+
consider-using-f-string
7980

8081
# Enable the message, report, category or checker with the given id(s). You can
8182
# either give multiple identifier separated by comma (,) or put this option

cmdstanpy/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
_CMDSTAN_WARMUP = 1000
2222
_CMDSTAN_SAMPLING = 1000
2323
_CMDSTAN_THIN = 1
24+
_CMDSTAN_REFRESH = 100
2425
_DOT_CMDSTANPY = '.cmdstanpy'
2526
_DOT_CMDSTAN = '.cmdstan'
2627

cmdstanpy/cmdstan_args.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from cmdstanpy import _TMPDIR
1414
from cmdstanpy.utils import (
1515
cmdstan_path,
16-
cmdstan_version_at,
16+
cmdstan_version_before,
1717
create_named_text_file,
1818
get_logger,
1919
read_metric,
@@ -818,7 +818,7 @@ def validate(self) -> None:
818818
'Argument "sig_figs" must be an integer between 1 and 18,'
819819
' found {}'.format(self.sig_figs)
820820
)
821-
if not cmdstan_version_at(2, 25):
821+
if cmdstan_version_before(2, 25):
822822
self.sig_figs = None
823823
get_logger().warning(
824824
'Argument "sig_figs" invalid for CmdStan versions < 2.25, '

0 commit comments

Comments
 (0)