Commit graph

1467 commits

Author SHA1 Message Date
Fabian Joswig
f3e7cdec28 [Fix] Remove Unpack for compatibility with older python versions. 2025-05-05 19:22:54 +02:00
Fabian Joswig
ab8ca3ac0e [Fix] Clean up whitespaces 2025-05-05 19:16:35 +02:00
Fabian Joswig
f594e0632a [Fix] Clean up merge conflict 2025-05-05 19:14:33 +02:00
Fabian Joswig
6d80efd388 Merge branch 'develop' into feat/typehints 2025-05-05 19:11:51 +02:00
Fabian Joswig
d6e6a435a8
[ci] Re-enable fail on warning for pytest pipeline. (#265)
* [ci] Re-enable fail on warning for pytest pipeline.

* [Fix] Use sqlite3 context managers in pandas module.

* [Fix] Add closing context.
2025-05-05 17:09:40 +02:00
Alexander Puck Neuwirth
8183ee2ef4
setup.py: Drop deprecated license classifiers (#264)
Closes: #263
2025-05-05 10:52:22 +02:00
JanNeuendorf
dcb95265ac
Fixed index in GEVP example (#261)
Co-authored-by: Fabian Joswig <fjosw@users.noreply.github.com>
2025-04-22 10:26:20 +02:00
s-kuberski
934a61e124
[Fix] removed unnecessary lines that raised the flake8 error code F824 (#262)
Co-authored-by: Simon Kuberski <simon.kuberski@cern.ch>
2025-04-22 10:19:14 +02:00
Justus Kuhlmann
b3b4126a87 some more quick fixes 2025-03-29 14:30:31 +00:00
Justus Kuhlmann
4cfe863336 Merge branch 'feat/typehints' of github.com:fjosw/pyerrors into feat/typehints 2025-03-29 14:06:15 +00:00
Justus Kuhlmann
96cdec46e2 annotate read_ms5_xsf 2025-03-29 14:04:52 +00:00
Justus Kuhlmann
f44b19c9d1 clean up sfcf input types 2025-03-29 11:10:26 +00:00
Fabian Joswig
3c36ab08c8 [Version] Bump version to 2.15.0-dev 2025-03-09 12:37:42 +01:00
Fabian Joswig
b2847a1f80 [Release] Bump version to 2.14.0 and update CHANGELOG 2025-03-09 12:35:29 +01:00
s-kuberski
17792418ed
[Fix] Removed the possibility to create an Obs from data on several replica (#258)
* [Fix] Removed the possibility to create an Obs from data on several replica

* [Fix] extended tests and corrected a small bug in the previous commit

---------

Co-authored-by: Simon Kuberski <simon.kuberski@cern.ch>
2025-02-25 16:58:44 +01:00
Fabian Joswig
dd4f8525f7
[CI] Add ARM runner and bump macos runner python version to 3.12 (#260) 2025-02-19 18:23:56 +01:00
s-kuberski
5f5438b563
[Feat] Introduce checks of the provided inverse matrix for correlated fits (#259)
Co-authored-by: Simon Kuberski <simon.kuberski@cern.ch>
2025-02-19 18:15:55 +01:00
Simon Kuberski
4814675ff6 [Fix] more work on typehints 2025-02-17 15:24:18 +01:00
s-kuberski
6ed6ce6113
[fix] Corrected an error message (#257)
Co-authored-by: Simon Kuberski <simon.kuberski@cern.ch>
2025-02-13 19:43:56 +01:00
Justus Kuhlmann
7a3a28dad0 add typehints for check_params 2025-01-13 17:33:50 +00:00
Fabian Joswig
bbf0b689a1 [Fix] Additional typehints 2025-01-10 15:46:48 +01:00
Fabian Joswig
7eabd68c5f
[CI] Speed up test workflow install phase by using uv (#254)
* [CI] Speed up install phase by using uv

* [CI] Use uv in examples workflow

* [CI] Fix yml syntax

* [CI] Install uv into system env

* [CI] Add system install for examples workflow
2025-01-10 09:36:05 +01:00
Justus Kuhlmann
2f40ff8ce9 add typing for read_pbp 2025-01-09 12:32:19 +00:00
Justus Kuhlmann
cb9d942208 make deriv structure like second_deriv 2025-01-09 09:44:32 +00:00
Justus Kuhlmann
52b91d83d8 add typehints for other util functions 2025-01-09 09:25:57 +00:00
Justus Kuhlmann
dba277fbda
Merge branch 'develop' into feat/typehints 2025-01-06 10:53:10 +01:00
Justus Kuhlmann
9ff34c27d7
Fix/sfcf ensname (#253)
* correct strings in _get_rep_names, add option for rep_sep

* doc

* add test for rep name getters
2025-01-06 10:46:49 +01:00
Fabian Joswig
336117c1cf [Fix] More type hint fixing 2025-01-05 17:12:50 +01:00
Fabian Joswig
5376a8ad44 [Fix] Further type fixes in fits and sfcf 2025-01-05 16:54:22 +01:00
Fabian Joswig
9c960ae24c [Fix] Correct type hints in fits.py 2025-01-05 16:30:42 +01:00
Fabian Joswig
6a990c147b [Fix] Fix ruff 2025-01-03 23:17:06 +01:00
Fabian Joswig
6d5a9b9d83 [Fix] Simplify type annotations in input modules 2025-01-03 23:15:40 +01:00
Fabian Joswig
b8700ef962 [Fix] Fix type annotations in json.py 2025-01-03 22:57:29 +01:00
Fabian Joswig
1c6053ef61 [Fix] Simplify type hints 2025-01-03 22:43:19 +01:00
Fabian Joswig
d45b43e6de [Fix] Fixed remaining flake8 errors 2025-01-03 19:07:48 +01:00
Fabian Joswig
4f1606d26a [CI] Add E252 to flake8 exceptions 2025-01-03 19:06:26 +01:00
Fabian Joswig
3654635cd7 [Fix] Removed unused imports 2025-01-03 19:03:00 +01:00
Fabian Joswig
1916de15ec [Fix] Start fixing remaining type hints 2025-01-03 19:01:20 +01:00
Fabian Joswig
23d4f4c320 [Fix] Fix type hints in misc.py and remove strict zips for python 3.9
compatability
2025-01-03 18:39:34 +01:00
Fabian Joswig
9389ad67c9 [CI] Add typing extension package to pytest run for pytthon 3.9 2025-01-03 18:24:46 +01:00
Fabian Joswig
01982568f0 [Fix] Fixed most type annotations in obs.py 2025-01-03 18:19:17 +01:00
Fabian Joswig
a9e082c333 [Fix] Fix type annotations for first part of obs.py 2025-01-03 17:09:05 +01:00
Fabian Joswig
2d34b355ed [Fix] Fix ruff errors and a few type annotations 2024-12-25 11:44:24 +01:00
Fabian Joswig
8d86295ac5 [Feat] Fixed a few type hints manually 2024-12-25 11:22:44 +01:00
Fabian Joswig
9fe375a747 [Feat] Added type hints to input modules 2024-12-25 11:14:34 +01:00
Fabian Joswig
3db8eb2989 [Feat] Add type hints to pyerrors modules 2024-12-25 11:09:58 +01:00
Fabian Joswig
997d360db3
[ci] Add ruff workflow (#250)
* [ci] Add ruff workflow

* [ci] Add src for ruff workflow

* [ci] Rename ruff worklow

* [ci] Adjust on for ruff workflow
2024-12-24 17:52:08 +01:00
Fabian Joswig
3eac9214b4
[Fix] Ruff rules and more precise Excpetion types (#248)
* [Fix] Fix test for membership should be 'not in' (E713)

* [Fix] Fix module imported but unused (F401)

* [Fix] More precise Exception types in dirac, obs and correlator
2024-12-24 15:35:59 +01:00
Fabian Joswig
d908508120 [docs] Simplify README 2024-12-18 13:00:06 +01:00
Justus Kuhlmann
b1448a2703
Fix plateaus in correlator (#247) 2024-12-05 22:08:48 +01:00