Skip to content

Commit

Permalink
#376 removed non-utilized methods
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolay-r committed Jul 3, 2023
1 parent 1682eef commit a62a025
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions arekit/common/data/row_ids/binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,3 @@ def create_sample_id(linked_opinions, index_in_linked, label_scaler):

return template.format(o_id,
label_scaler.label_to_uint(linked_opinions.get_linked_label()))

@staticmethod
def parse_label_in_sample_id(sample_id):
assert(isinstance(sample_id, str))
return BinaryIDProvider._parse(row_id=sample_id, pattern=BinaryIDProvider.LABEL)

@staticmethod
def parse_index_in_sample_id(sample_id):
assert(isinstance(sample_id, str))
return BinaryIDProvider._parse(row_id=sample_id, pattern=BinaryIDProvider.INDEX)

0 comments on commit a62a025

Please sign in to comment.