From fd59697d1c40cdf728d94c5d984a372e20b3a5fe Mon Sep 17 00:00:00 2001 From: eric bryant Date: Fri, 1 Jan 2021 20:22:59 -0500 Subject: [PATCH] nmp detection cleanup for #148, alternative 2 --- siteupdate/python-teresco/siteupdate.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/siteupdate/python-teresco/siteupdate.py b/siteupdate/python-teresco/siteupdate.py index ffbf2930..29805fd0 100755 --- a/siteupdate/python-teresco/siteupdate.py +++ b/siteupdate/python-teresco/siteupdate.py @@ -1031,11 +1031,7 @@ def read_wpt(self,all_waypoints,all_waypoints_lock,datacheckerrors,el,path="../. # print(str(dbg_w) + " ", end="") #print() if len(nmps) > 0: - if w.near_miss_points is None: - w.near_miss_points = nmps - else: - w.near_miss_points.extend(nmps) - + w.near_miss_points = nmps for other_w in nmps: if other_w.near_miss_points is None: other_w.near_miss_points = [ w ]