From 062ce133764582b44255359fe9119e30f83d94b5 Mon Sep 17 00:00:00 2001 From: "K. Shankari" Date: Thu, 18 Jul 2024 17:34:21 -0700 Subject: [PATCH] Bumping up dependency to support sorting before aggregate metrics display > The issue was harder to diagnose than I thought, but I pushed a one-line fix to e-mission-common. > Bumping e-mission-server to use e-mission-common @ 0.5.3 should fix it > The issue was that e-mission-common expected the list of trips to be in order, but the server was providing them out of order. (I thought esda.get_entries would guarantee entries ordered by time but it doesn't seem to) > So the day-by-day metrics data created by e-mission-common was also out of order. Then when e-mission-phone received that out-of-order data, it didn't know what to do with it --- setup/environment36.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/environment36.yml b/setup/environment36.yml index 1f1f57a77..11e2640c3 100644 --- a/setup/environment36.yml +++ b/setup/environment36.yml @@ -19,7 +19,7 @@ dependencies: - scipy=1.10.0 - utm=0.7.0 - pip: - - git+https://github.com/JGreenlee/e-mission-common@0.5.2 + - git+https://github.com/JGreenlee/e-mission-common@0.5.3 - pyfcm==1.5.4 - pygeocoder==1.2.5 - pymongo==4.3.3