From 8c65f2c25fbde11ca8efa4c83b5924b041af5932 Mon Sep 17 00:00:00 2001 From: Liam Steckler Date: Thu, 10 Jul 2025 16:39:36 -0700 Subject: [PATCH] =?UTF-8?q?Negate=20the=20equals=20=F0=9F=A4=A6?= =?UTF-8?q?=F0=9F=8F=BB=E2=80=8D=E2=99=82=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scl.py b/scl.py index 62388d6..ec64118 100644 --- a/scl.py +++ b/scl.py @@ -413,7 +413,7 @@ with Session(engine) as session: # Used to determine the maximum number of people affected by this outage, to determine if it's worth posting about existing_record.max_num_people = event["numPeople"] max_event_class = classify_event_size(existing_record.max_num_people) - if shapely.equals(existing_record.outage_geometries, outage_geometries): + if not shapely.equals(existing_record.outage_geometries, outage_geometries): print( "Geometries modified. Equals: {}, DE-9IM: {}, Within: {}".format( outage_geometries.equals(existing_record.outage_geometries),