From 590c5a3687a126585ad8adcf07acc108d3d715d1 Mon Sep 17 00:00:00 2001 From: Ross Whitfield Date: Tue, 25 Jun 2024 11:41:26 +1000 Subject: [PATCH] Remove usued is_div method --- src/live_data_server/plots/models.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/live_data_server/plots/models.py b/src/live_data_server/plots/models.py index 2df4379..8a53c8c 100644 --- a/src/live_data_server/plots/models.py +++ b/src/live_data_server/plots/models.py @@ -59,12 +59,6 @@ class PlotData(models.Model): def __str__(self): return str(self.data_run) - def is_div(self): - """ - Return whether the data is a
- """ - return self.data_type % 100 == 1 - def is_data_type_valid(self, data_type): """ Verify that a given data type matches the stored data