From b6e75230df026b714db1235becf0088d36897097 Mon Sep 17 00:00:00 2001 From: jkuhl-uni Date: Tue, 8 Feb 2022 11:23:13 +0100 Subject: [PATCH] small flake8 issue resolved --- pyerrors/input/openQCD.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pyerrors/input/openQCD.py b/pyerrors/input/openQCD.py index 37c42f6d..97208fde 100644 --- a/pyerrors/input/openQCD.py +++ b/pyerrors/input/openQCD.py @@ -210,10 +210,6 @@ def read_rwms(path, prefix, version='2.0', names=None, **kwargs): warnings.warn('Stepsize between configurations is greater than one!' + str(stepsizes), RuntimeWarning) print(',', nrw, 'reweighting factors with', nsrc, 'sources') - if "idl_offsets" in kwargs: - idl_offsets = kwargs.get("idl_offsets") - else: - idl_offsets = np.ones(nrw, dtype=int) result = [] idl = [range(configlist[rep][r_start_index[rep]], configlist[rep][r_stop_index[rep]], r_step) for rep in range(replica)] for t in range(nrw): @@ -221,8 +217,7 @@ def read_rwms(path, prefix, version='2.0', names=None, **kwargs): return result -def extract_t0(path, prefix, dtr_read, xmin, - spatial_extent, fit_range=5, **kwargs): +def extract_t0(path, prefix, dtr_read, xmin, spatial_extent, fit_range=5, **kwargs): """Extract t0 from given .ms.dat files. Returns t0 as Obs. It is assumed that all boundary effects have