From b84fefb15736eb880aabb8ac1efb3db1ec83fc45 Mon Sep 17 00:00:00 2001 From: Jeff Klenzing Date: Wed, 20 Dec 2023 10:29:10 -0500 Subject: [PATCH] STY: pep8 --- pysatModels/utils/extract.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pysatModels/utils/extract.py b/pysatModels/utils/extract.py index f15b7c8c..6d3b037c 100644 --- a/pysatModels/utils/extract.py +++ b/pysatModels/utils/extract.py @@ -859,8 +859,8 @@ def extract_modelled_observations(inst, model, inst_name, mod_name, if mod_ind in mind and pair_method == 'closest': # Test to see if this model observation has multiple pairings old_ind = mind.index(mod_ind) - if(del_sec[inst_ind, mod_ind] - < del_sec[iind[old_ind], mind[old_ind]]): + if (del_sec[inst_ind, mod_ind] < del_sec[iind[old_ind], + mind[old_ind]]): # If this one is closer, keep it iind[old_ind] = inst_ind mind[old_ind] = mod_ind