Skip to content

Commit

Permalink
Removed the getter/setter from the LabelRecoder class, its unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
jnolan14 committed Sep 3, 2024
1 parent 515aaa6 commit a252019
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions surfa/core/labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,17 +290,6 @@ def __init__(self, mapping, target=None):
self.mapping = dict(mapping)
self.target = target

@property
def target(self):
"""
Target label mapping
"""
return self._value

@target.setter
def target(self, value):
self._value = value

def invert(self, target_labels=None, strict=True):
"""
Invert the label mapping dictionary
Expand Down

0 comments on commit a252019

Please sign in to comment.