Commit graph

16 commits

Author SHA1 Message Date
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
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
ca70c7571b
fix: Conversion of an array with ndim > 0 to a scalar deprecation fixed. (#186) 2023-05-31 16:59:27 +01:00
Fabian Joswig
37b3498258
fix: unused variable removed in dobs.py 2023-02-02 14:38:43 +00:00
Simon Kuberski
dc5116aa2f dobs: Zeros are written if config is not part of the Obs, these are ignored on input 2023-02-02 15:31:46 +01:00
Justus Kuhlmann
26447d658c
better docstrings (#144)
* first example of returns statement in docstring

* added a some return statements for pandas API

* last return statements in pandas input

* added returns to bdio docstrings

* few returns statements added to docstring

* finished docstrings for hadrons submodule

* also finished docstrings for json submodule

* finished misc submodule

* added returns in docstrings in openqQCD

* made some cosmetic chanes to dostrings

* added return nad return statement in docstring

* linting

* Improved docstrings of mpm, fits, roots, misc to have return statements

returns added for misc.py

returns added for mpm.py

reutrns added for fits.py

* linting...

* Some polishing of docstrings
2023-01-16 14:57:22 +00:00
Simon Kuberski
2c0e8e9198 Removed superfluous print statement 2022-06-19 02:06:44 +02:00
Simon Kuberski
061ba6ecfa Bugfixes in dobs 2022-06-19 02:03:29 +02:00
Simon Kuberski
c9789a34e6 Resolved merge conflict in tests 2022-06-19 01:46:31 +02:00
Fabian Joswig
a545545d73 fix: Another modification of parameter with default in input.dobs fixed. 2022-06-17 10:17:18 +01:00
Fabian Joswig
02403fc282 fix: Modification of parameter with default in input.dobs fixed. 2022-06-15 14:04:07 +01:00
Simon Kuberski
d7a8721ef6 bug: Fixed dobs I/O, similarly to JSON I/O 2022-05-19 19:18:53 +02:00
Simon Kuberski
729a61db61 Changed some details regarding dobs implementation 2022-05-02 15:12:07 +02:00
Simon Kuberski
0f735c0d2d Some changes on dobs 2022-04-13 16:05:30 +02:00
Simon Kuberski
526e4264fb Small change to write_pobs 2022-02-02 15:06:13 +01:00
Simon Kuberski
7f6ea85b32 First implementation of dobs and pobs 2022-02-02 08:54:32 +01:00