Skip to content

Commit

Permalink
remove unused Input
Browse files Browse the repository at this point in the history
  • Loading branch information
wkerzendorf committed Jul 24, 2024
1 parent 251d1cb commit bb19fdb
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tardis/plasma/properties/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,20 +202,6 @@ class ArrayInput(Input):
def _set_output_value(self, output, value):
setattr(self, output, np.array(value, copy=False))


class ObjectInput(Input):

input_object_map = {} # mapping output names from input object attributes

def set_value(self, value):
for output in self.outputs:
if output in self.input_object_map:
object_attr = self.input_object_map[output]
self._set_output_value(output, getattr(value, object_attr))
else:
self._set_output_value(output, getattr(value, output))


class DataFrameInput(Input):
def _set_output_value(self, output, value):
setattr(self, output, np.array(pd.DataFrame(value), copy=False))
Expand Down

0 comments on commit bb19fdb

Please sign in to comment.