Commit graph

2,576 commits

Author SHA1 Message Date
fjosw
27aac6e7ba Documentation updated 2026-07-06 14:37:47 +00:00
fjosw
8502479afe Merge branch 'develop' into documentation 2026-07-06 14:37:12 +00:00
Fabian Joswig
470e2c57fc
[Feat] More specific Exception statements (#287)
* [Feat] More specific Exception statements

* [Fix] Address copilot comments
2026-07-06 16:36:56 +02:00
fjosw
8ff6c1df4d Documentation updated 2026-07-06 09:05:17 +00:00
fjosw
0baf0a4981 Merge branch 'develop' into documentation 2026-07-06 09:04:41 +00:00
Fabian Joswig
e72949b69b
[chore] Stricter ruff rules (#282)
* [chore] Stricter ruff rules

* [chore] Furture lint rules and removal of flake8

* [ci] Bump github action versions

* [chore] Add additional test coverage

* Revert RNG switch to np.random.default_rng()

Restore use of the global np.random state in pseudo_Obs (misc.py) and the
prior id generation (fits.py), keeping seed behavior unchanged. The switch
to a module-local generator is out of scope for this lint-focused PR.

* Silence NPY002 on intentional legacy np.random calls

The RNG migration was reverted to keep np.random.seed() behavior, so add
per-line noqa: NPY002 on the three legacy np.random calls instead of the
Generator API.

* [Fix] Fix exception messages
2026-07-06 11:04:28 +02:00
fjosw
b54426e60a Documentation updated 2026-06-30 06:56:24 +00:00
fjosw
99cd80f2ae Merge branch 'develop' into documentation 2026-06-30 06:56:00 +00:00
Fabian Joswig
229ea45ac7
[feat] Relax strict autograd.numpy requirement (#285)
* [feat] Relax strict autograd.numpy requirement

* [Fix] Re-impose --Werror for python 3.14 runs after new autograd release
2026-06-30 08:55:49 +02:00
fjosw
72ef564962 Documentation updated 2026-05-28 09:38:10 +00:00
fjosw
dcd10a187e Merge branch 'develop' into documentation 2026-05-28 09:37:37 +00:00
Justus Kuhlmann
30d109413d
Propose fix for nc/idl map (#284)
* proposed fix for nc/idl map

* correct docs, implement failesafe for therm. trajectories

* lint

* easier test, improve descriptions

* clarify r_step parameterin docs

* add small test for trajectories
2026-05-28 11:37:21 +02:00
fjosw
89f61afb32 Documentation updated 2026-04-19 17:51:19 +00:00
fjosw
5925955882 Merge branch 'develop' into documentation 2026-04-19 17:50:46 +00:00
Fabian Joswig
b28c2f0b6f
[Fix] Migrate to odrpack because of scipy.odr deprecation (#279)
* [Fix] Migrate to odrpack because of scipy.odr deprecation in recent
release

* [Fix] Fix behaviour for rank deficient fits. Add test

* [Fix] Relax test_merge_obs tolerance to machine epsilon and update ODR docstring to reference odrpack

* [ci] Re-add -Werror to pytest workflow

* [Fix] Handle platform-dependent rank-deficient warning in ODR tests

* [Fix] Improve rank-deficient detection and bump odrpack to >=0.5

Fix incorrect ODRPACK95 info code parsing: rank deficiency is encoded
in the tens digit (info // 10 % 10), not the hundreds digit. Add
irank and inv_condnum to the warning message for diagnostics.
2026-04-19 19:50:36 +02:00
fjosw
152cf8c958 Documentation updated 2026-03-29 18:50:46 +00:00
fjosw
17c76adab1 Merge branch 'develop' into documentation 2026-03-29 18:50:12 +00:00
Fabian Joswig
b180dff020 [chore] Bump version to v2.18.0-dev 2026-03-29 20:49:50 +02:00
Fabian Joswig
62f41d0d5f [release] Bump version to 2.17, append CHANGELOG v2.17.0 2026-03-29 20:48:23 +02:00
Fabian Joswig
23d2629801
[CI] Run pytest workflows once per week (#280) 2026-03-29 20:43:59 +02:00
fjosw
dac2ee6732 Documentation updated 2026-03-29 16:47:06 +00:00
fjosw
cff0b8ee1e Merge branch 'develop' into documentation 2026-03-29 16:46:30 +00:00
Fabian Joswig
682d23604d
[Fix] Pandas 3 string type changes (#278)
* [Fix] Pandas 3 string type handling

* [ci] Temporarily remove WError because of scipy deprecation

* [Fix] Address edge cases in _deserialize_df

- Use pd.isna() instead of truthiness check for gzip null guard, fixing
  incorrect behavior when null is np.nan (which is truthy in Python)
- Add bounds check to while loop to prevent IndexError when all non-null
  values are empty strings converted to None by regex replace

* [Fix] Address edge cases in _deserialize_df and add string dtype tests

- Guard against IndexError on empty DataFrames and all-null columns
- Use is not None instead of pd.isna() for Obs objects in auto_gamma
- Add tests for string dtype columns (with/without None, CSV and SQL)
- Add test for empty DataFrame deserialization

* [Fix] Avoid skipping NA-to-None conversion and guard auto_gamma against None lists

- Replace continue with conditional to preserve NA-to-None conversion for all-null columns
- Guard auto_gamma list lambda against None values to prevent TypeError
- Add tests for all-empty-string columns and Obs lists with None + auto_gamma
2026-03-29 18:46:15 +02:00
fjosw
8811f01fb8 Documentation updated 2025-11-25 11:57:51 +00:00
fjosw
40f4bfd46c Merge branch 'develop' into documentation 2025-11-25 11:57:18 +00:00
Justus Kuhlmann
da399b7c02
Fix/check append rep (#277)
* add option that the headers of an append-mode file can have different format

* add tests for irregular headers in append mode

* hotfix: fix bug in append start read implementation

* lint

* lint II
2025-11-25 12:57:03 +01:00
fjosw
b43f0e2fcc Documentation updated 2025-10-30 15:37:13 +00:00
fjosw
54d89a8663 Merge branch 'develop' into documentation 2025-10-30 15:36:32 +00:00
Fabian Joswig
1002dd0e51 [chore] Bump version to v2.17.0-dev 2025-10-30 16:36:09 +01:00
fjosw
c8e94419a1 Documentation updated 2025-10-30 15:35:32 +00:00
fjosw
eef4d6de16 Merge branch 'develop' into documentation 2025-10-30 15:34:50 +00:00
Fabian Joswig
4cdddf0a76 [chore] Bump version and changelog v2.16.0 2025-10-30 16:34:05 +01:00
fjosw
f8f63511ab Documentation updated 2025-10-30 15:27:44 +00:00
fjosw
252faf9683 Merge branch 'develop' into documentation 2025-10-30 15:27:07 +00:00
Justus Kuhlmann
da0a4cc40a
Feat/idl func (#275)
* outsource function to get idl for append mode

* Expose option to define function for idl by the user.

* clean up args

* add tests

* lint
2025-10-30 16:26:52 +01:00
fjosw
befcf1afcc Documentation updated 2025-10-22 13:37:04 +00:00
fjosw
d6f483eb1f Merge branch 'develop' into documentation 2025-10-22 13:36:19 +00:00
Pia Leonie Jones Petrak
e0076ccea9
[Fix] corrected expected_chisquare by adding the number of priors (#274)
* [Fix] corrected expected_chisquare by adding the number of priors

* test/fits_test.py: dof and expected chisquare the same in uncorrelated fit w. prior to uncorrelated data
2025-10-22 15:36:01 +02:00
fjosw
4476448715 Documentation updated 2025-10-19 11:00:15 +00:00
fjosw
0fc0a377a7 Merge branch 'develop' into documentation 2025-10-19 10:59:33 +00:00
Fabian Joswig
85ae9d7563
[chore] Remove support for python 3.9 and bump python versions in runners (#273) 2025-10-19 12:59:20 +02:00
Fabian Joswig
a600a69bb9
[ci] Add python 3.14 runners for pytest workflow (#270)
* [ci] Add python 3.14 runners for pytest workflow

* [ci] Deactivate -Werror option in pytest workflow to fix python 3.14
runner

* [ci] Run tests with Werror for all python versions but for 3.14
2025-10-19 12:44:06 +02:00
fjosw
2da5d8d615 Documentation updated 2025-10-19 10:33:47 +00:00
fjosw
ff7391b447 Merge branch 'develop' into documentation 2025-10-19 10:33:12 +00:00
Fabian Joswig
4c4173c461 [chore] Bump version to 2.16.0-dev 2025-10-19 12:32:52 +02:00
fjosw
bf42e0e2b3 Documentation updated 2025-10-19 10:30:53 +00:00
fjosw
3c1d1d188d Merge branch 'develop' into documentation 2025-10-19 10:30:15 +00:00
Fabian Joswig
6c7daac44b Merge branch 'develop' v2.15.1 2025-10-19 12:30:10 +02:00
Fabian Joswig
1d031d0eab [chore] Bump version and update changelog 2025-10-19 12:29:45 +02:00
fjosw
1eb6305597 Documentation updated 2025-10-19 10:29:24 +00:00