From 7f70be98180668da1ae62efa342ed9bbc7ffe2c8 Mon Sep 17 00:00:00 2001 From: "Mahadik, Mukul Chandrakant" Date: Fri, 17 Nov 2023 15:20:55 -0700 Subject: [PATCH] Cleanup print statements Cleaning up previously used debug statements --- emission/analysis/classification/inference/labels/pipeline.py | 2 -- emission/tests/storageTests/TestTimeSeries.py | 3 --- 2 files changed, 5 deletions(-) diff --git a/emission/analysis/classification/inference/labels/pipeline.py b/emission/analysis/classification/inference/labels/pipeline.py index 3a2adda93..86c8bffac 100644 --- a/emission/analysis/classification/inference/labels/pipeline.py +++ b/emission/analysis/classification/inference/labels/pipeline.py @@ -105,8 +105,6 @@ def compute_and_save_algorithms(self, user_id, trip_list): def compute_and_save_ensemble(self, trip_list, predictions_dict): il_list = [] for trip, key in zip(trip_list, predictions_dict): - # Print trip ids to see if order maintained: - print(f"Trip_ID: {trip.get_id()} and Pred_Key: {key}") il = ecwl.Labelprediction() il.trip_id = trip.get_id() il.start_ts = trip["data"]["start_ts"] diff --git a/emission/tests/storageTests/TestTimeSeries.py b/emission/tests/storageTests/TestTimeSeries.py index 7b6751cf2..f12e27f01 100644 --- a/emission/tests/storageTests/TestTimeSeries.py +++ b/emission/tests/storageTests/TestTimeSeries.py @@ -184,9 +184,6 @@ def testFindEntriesCount(self): count_ts9 = ts_new_user.find_entries_count(key_list=key_list1) self.assertEqual(count_ts9, 0) - print("Assert Test for Count Data successful!") - - if __name__ == '__main__': import emission.tests.common as etc etc.configLogging()