From fe96c7e53678596619b6ae1c9c34228bed0fbd56 Mon Sep 17 00:00:00 2001 From: "Sergey E. Koposov" Date: Tue, 16 Jan 2024 14:16:01 +0000 Subject: [PATCH] fix error --- py/rvspecfit/read_grid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/rvspecfit/read_grid.py b/py/rvspecfit/read_grid.py index 6ae877c..c65d864 100644 --- a/py/rvspecfit/read_grid.py +++ b/py/rvspecfit/read_grid.py @@ -246,7 +246,7 @@ def get_spec(params, # deltas query = '''select filename from files where''' - for ii, k, v in enumerate(params.items()): + for ii, (k, v) in enumerate(params.items()): pad = 0.01 v1 = v - pad v2 = v + pad