-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release 0.5.2 #1406
release 0.5.2 #1406
Commits on Apr 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2d05621 - Browse repository at this point
Copy the full SHA 2d05621View commit details -
move petab imports outside of try/except (#1355)
Co-authored-by: Daniel Weindl <dweindl@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d178070 - Browse repository at this point
Copy the full SHA d178070View commit details
Commits on Apr 18, 2024
-
Require scipy<1.13.0 for pypesto[pymc] only for python3.9 (#1360) (#1376
) The most recent arviz should now work with the most recent scipy (but requires python>=3.10): https://github.com/arviz-devs/arviz/blob/main/CHANGELOG.md#maintenance-and-fixes-1 Closes #1354
Configuration menu - View commit details
-
Copy full SHA for ac03f47 - Browse repository at this point
Copy the full SHA ac03f47View commit details -
Added option to sample startpoints of a problem, from the problem dir…
…ectly. (#1364) Co-authored-by: Maren Philipps <55318391+m-philipps@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3b1a12f - Browse repository at this point
Copy the full SHA 3b1a12fView commit details
Commits on Apr 19, 2024
-
Relative: fix log of zero for default 0 sigma values (#1377)
* Fix log of zero in hierarchical calculate_nllh by masking * Fix in `compute_bounded_optimal_scaling_offset_coupled` * Update numerical solver with data mask --------- Co-authored-by: Jonas Arruda <69197639+arrjon@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3edf785 - Browse repository at this point
Copy the full SHA 3edf785View commit details
Commits on May 2, 2024
-
Correlation plot with nans (#1365)
* Added option to sample startpoints of a problem, from the problem directly. Also safety checks for startindices like "all" or "clustered" * Fixed error in correlation matrix, if there were nn values. Also safety checks in general for start indices. Added a test for correlation matrix * log filtering in process_start_indices * update docstring --------- Co-authored-by: Maren Philipps <maren.philipps@uni-bonn.de>
Configuration menu - View commit details
-
Copy full SHA for b95f422 - Browse repository at this point
Copy the full SHA b95f422View commit details -
ESS optimizers: suppress divide-by-zero warnings; report n_eval (#1380)
For ESSOptimizer and SacessOptimizer: * supporess divide-by-zero warnings * report number of function evaluations
Configuration menu - View commit details
-
Copy full SHA for e197a8b - Browse repository at this point
Copy the full SHA e197a8bView commit details
Commits on May 3, 2024
-
Require and test python >=3.10 according to NEP 29 (#1379)
* Update setup.cfg Remove python 3.9 * Update ci.yml Remove python 3.9 and update to 3.11 * Update deploy.yml Change python 3.9 by 3.11 * Update ci.yml Add python 3.10 * Update setup.cfg Add python 3.12 * Update ci.yml Update from python 3.11 to 3.12 * Update deploy.yml Update from python 3.11 to 3.12 * Skip aesara tests on case of python >= 3.12 and use 3.11 for building the documentation. * Update test/base/test_objective.py Co-authored-by: Daniel Weindl <dweindl@users.noreply.github.com> * Update .github/workflows/ci.yml --------- Co-authored-by: PaulJonasJost <jost.pauljonas@gmail.com> Co-authored-by: Daniel Weindl <dweindl@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for fc7b615 - Browse repository at this point
Copy the full SHA fc7b615View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d81428 - Browse repository at this point
Copy the full SHA 4d81428View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbfae2a - Browse repository at this point
Copy the full SHA fbfae2aView commit details -
GHA: use macos-12 runner (#1386)
Prevents unclear timeouts that occur with `macos-14-arm64` (see #1383).
Configuration menu - View commit details
-
Copy full SHA for 4f778cc - Browse repository at this point
Copy the full SHA 4f778ccView commit details -
SacessOptimizer: collect worker stats (#1381)
So far, most stats from different SacessOptimizer workers have only been available from the logs. Now they are also available via `SacessOptimizer.worker_results`. Additionally, the total number of objective evaluations across all workers ís logged.
Configuration menu - View commit details
-
Copy full SHA for e4b15be - Browse repository at this point
Copy the full SHA e4b15beView commit details
Commits on May 4, 2024
-
Fix
pypesto.sample.geweke_test.spectrum
for nfft<=3 (#1388)For `nfft<=3`, this function computed `k` by converting infinity to int64. For the last [4 years](fdbacb4), this seemed to not cause any trouble, because `np.float64("inf").astype(int)` yielded -9223372036854775808 and the loop did not run. However, with the current `macos-14` GitHub runner, this yields 9223372036854775807, and accordingly, rather long computation times (this is what caused #1383). I am not really sure what caused this change. macos-12 vs macos-14, arm64 vs x86, ...? all should be IEEE 754-compliant. Maybe some different integer type? 🤷♂️ With this change `macos-14` runners yield the same results as the other runners. However, I am not familiar with computing power spectral density and I don't know if this is indeed what should happen. It would be great if somebody more familiar with that topic could double-check. (Also, can't we use [scipy.signal.welch](https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.welch.html#scipy.signal.welch) here?)
Configuration menu - View commit details
-
Copy full SHA for cacd525 - Browse repository at this point
Copy the full SHA cacd525View commit details
Commits on May 5, 2024
-
* switch to `macos-14` previous issues with macos-14 were a mix of #1388 and caching with seemingly random switching between macos-12 and macos-14 runners when using macos-latest * include arch in cache keys; use uniform cache keys * change some imports in `test/sample/test_sample.py` to be able to run subsets of tests despite missing optional dependencies * adjust resource limits to avoid [random](https://github.com/ICB-DCM/pyPESTO/actions/runs/8945258779/job/24573887731) [failures](https://github.com/ICB-DCM/pyPESTO/actions/runs/8945870387/job/24575587898?pr=1387) such as: ``` /Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/_pytest/main.py:339: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. Plugin: _cov, Hook: pytest_runtestloop DataError: Couldn't use data file '/Users/runner/work/pyPESTO/pyPESTO/.coverage.Mac-1714771409828.local.9672.XvRVVmRx': unable to open database file For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning config.hook.pytest_runtestloop(session=session) ..FFFF [100%] INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/coverage/sqlitedb.py", line 52, in _connect INTERNALERROR> sqlite3.OperationalError: unable to open database file INTERNALERROR> INTERNALERROR> The above exception was the direct cause of the following exception: INTERNALERROR> INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/_pytest/main.py", line 285, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^ INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/_pytest/main.py", line 339, in _main INTERNALERROR> config.hook.pytest_runtestloop(session=session) INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/pluggy/_callers.py", line 156, in _multicall INTERNALERROR> teardown[0].send(outcome) INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/pytest_cov/plugin.py", line 339, in pytest_runtestloop INTERNALERROR> self.cov_controller.finish() INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/pytest_cov/engine.py", line 46, in ensure_topdir_wrapper INTERNALERROR> return meth(self, *args, **kwargs) INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^ INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/pytest_cov/engine.py", line 256, in finish INTERNALERROR> self.cov.save() INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/coverage/control.py", line 785, in save INTERNALERROR> data = self.get_data() INTERNALERROR> ^^^^^^^^^^^^^^^ INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/coverage/control.py", line 865, in get_data INTERNALERROR> if self._collector.flush_data(): INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/coverage/collector.py", line 535, in flush_data INTERNALERROR> self.covdata.add_lines(self.mapped_file_dict(line_data)) INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/coverage/sqldata.py", line 124, in _wrapped INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/coverage/sqldata.py", line 495, in add_lines INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/coverage/sqldata.py", line 564, in _choose_lines_or_arcs INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/coverage/sqldata.py", line 344, in _connect INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/coverage/sqldata.py", line 287, in _open_db INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/coverage/sqldata.py", line 291, in _read_db INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/coverage/sqlitedb.py", line 88, in __enter__ INTERNALERROR> File "/Users/runner/work/pyPESTO/pyPESTO/.tox/base/lib/python3.12/site-packages/coverage/sqlitedb.py", line 54, in _connect INTERNALERROR> coverage.exceptions.DataError: Couldn't use data file '/Users/runner/work/pyPESTO/pyPESTO/.coverage.Mac-1714771409828.local.9672.XvRVVmRx': unable to open database file ```
Configuration menu - View commit details
-
Copy full SHA for ccc7f72 - Browse repository at this point
Copy the full SHA ccc7f72View commit details
Commits on May 6, 2024
-
add load method to Hdf5AmiciHistory (#1370)
* add load method to Hdf5AmiciHistory
Configuration menu - View commit details
-
Copy full SHA for d9aa042 - Browse repository at this point
Copy the full SHA d9aa042View commit details -
Correct header for roadrunner example (#1394)
Removed a spacebar preventing header to be seen as such (#1394)
Configuration menu - View commit details
-
Copy full SHA for 80ae7fa - Browse repository at this point
Copy the full SHA 80ae7faView commit details
Commits on May 7, 2024
-
remove random.seed in favor of np.random.seed (#1391)
* remove random.see in favor of np.random.seed * added import numpy as np import
Configuration menu - View commit details
-
Copy full SHA for cf3cbc5 - Browse repository at this point
Copy the full SHA cf3cbc5View commit details
Commits on May 8, 2024
-
* update readme links * Add relative to READ_ME.md --------- Co-authored-by: Doresic <domagoj.doresic@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 18be6e3 - Browse repository at this point
Copy the full SHA 18be6e3View commit details
Commits on May 14, 2024
-
More detailed defaults for
problem.get_full_vector
(#1393)* Made get_full_vector more intuitive * Corrected he usage of get_full vector. Removed it for lb and ub in favor of lb_full and ub_full. * Apply suggestions from code review Co-authored-by: Maren Philipps <55318391+m-philipps@users.noreply.github.com> --------- Co-authored-by: Maren Philipps <55318391+m-philipps@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9d5c13b - Browse repository at this point
Copy the full SHA 9d5c13bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1206dc0 - Browse repository at this point
Copy the full SHA 1206dc0View commit details
Commits on May 15, 2024
-
* As a first test change the mac version * Add a remark to revert the runs-on * Set Runs-on to macos-13
Configuration menu - View commit details
-
Copy full SHA for 63c5662 - Browse repository at this point
Copy the full SHA 63c5662View commit details -
Fix in doc of visualise.optimization_stats (#1390)
* Fixed doc example from generic call (that did not exists) to apropriate call * Marked code as codeblocks
Configuration menu - View commit details
-
Copy full SHA for 049493c - Browse repository at this point
Copy the full SHA 049493cView commit details
Commits on May 16, 2024
-
Calling prior in sampling with fixed parameters does not work (#1378)
* fixing call of prior in sampling * check if priors not None * remove deepcopy
Configuration menu - View commit details
-
Copy full SHA for d5fde03 - Browse repository at this point
Copy the full SHA d5fde03View commit details -
Update
test_thermodynamic_integration
(#1385)* Lowered samples, removed comparison of two different amount of chains * Removed even argument, due to scipy wanting to go for "simpson" and depracating "even" * Removed warning for `test_thermodynamic_integration` --------- Co-authored-by: Jonas Arruda <69197639+arrjon@users.noreply.github.com> Co-authored-by: Dilan Pathirana <59329744+dilpath@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7fe40ba - Browse repository at this point
Copy the full SHA 7fe40baView commit details
Commits on May 21, 2024
-
Variational inference with PyMC (#1306)
* variational inference fit * remove variational from sample * make pymc object accessible * save as McmcPtResult * tests added * add warning in write_result()
Configuration menu - View commit details
-
Copy full SHA for fefefd5 - Browse repository at this point
Copy the full SHA fefefd5View commit details
Commits on May 26, 2024
-
Saves pypesto and python version to the problem. (#1382)
* Saves pypesto and python version to the problem. * Update pypesto/problem/base.py Co-authored-by: Daniel Weindl <dweindl@users.noreply.github.com> --------- Co-authored-by: Daniel Weindl <dweindl@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4222672 - Browse repository at this point
Copy the full SHA 4222672View commit details
Commits on May 29, 2024
-
* Add pre_post_processor.setter and base_objective wrapper functions * fix docstring & simplify implementation * extend tests * fix tests * add returns to docstring * fix max sensi orders, add test --------- Co-authored-by: Paul Jonas Jost <70631928+PaulJonasJost@users.noreply.github.com> Co-authored-by: Fabian Fröhlich <fabian@schaluck.com> Co-authored-by: Fabian Fröhlich <fabian.frohlich@crick.ac.uk>
Configuration menu - View commit details
-
Copy full SHA for 0b8417f - Browse repository at this point
Copy the full SHA 0b8417fView commit details
Commits on May 31, 2024
-
prepare release v0.5.2 (#1407)
* Update Changelog and Version --------- Co-authored-by: Fabian Fröhlich <fabian.frohlich@crick.ac.uk> Co-authored-by: Maren Philipps <55318391+m-philipps@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e9c9949 - Browse repository at this point
Copy the full SHA e9c9949View commit details -
Configuration menu - View commit details
-
Copy full SHA for c966568 - Browse repository at this point
Copy the full SHA c966568View commit details