Skip to content

Commit

Permalink
Remove usued is_div method
Browse files Browse the repository at this point in the history
  • Loading branch information
rosswhitfield committed Jun 25, 2024
1 parent 3de0f5e commit 590c5a3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/live_data_server/plots/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ class PlotData(models.Model):
def __str__(self):
return str(self.data_run)

Check warning on line 60 in src/live_data_server/plots/models.py

View check run for this annotation

Codecov / codecov/patch

src/live_data_server/plots/models.py#L60

Added line #L60 was not covered by tests

def is_div(self):
"""
Return whether the data is a <div>
"""
return self.data_type % 100 == 1

def is_data_type_valid(self, data_type):
"""
Verify that a given data type matches the stored data
Expand Down

0 comments on commit 590c5a3

Please sign in to comment.