From 2f40ff8ce96e15957ea3f4b72906945d8517e772 Mon Sep 17 00:00:00 2001 From: Justus Kuhlmann Date: Thu, 9 Jan 2025 12:32:19 +0000 Subject: [PATCH] add typing for read_pbp --- pyerrors/input/misc.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyerrors/input/misc.py b/pyerrors/input/misc.py index 252d7249..9aced78e 100644 --- a/pyerrors/input/misc.py +++ b/pyerrors/input/misc.py @@ -99,11 +99,15 @@ def fit_t0(t2E_dict: dict[float, Obs], fit_range: int, plot_fit: Optional[bool]= return -fit_result[0] / fit_result[1] -def read_pbp(path, prefix, **kwargs): +def read_pbp(path: str, prefix: str, **kwargs): """Read pbp format from given folder structure. Parameters ---------- + path : str + Directory to read pbp from + prefix : str + Prefix of the files to be read r_start : list list which contains the first config to be read for each replicum r_stop : list