Skip to content

Commit 2b82f3e

Browse files
committed
rename ExpProtocolOutput to ExpRunItem
1 parent 2084371 commit 2b82f3e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

labkey/experiment.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,9 @@ def to_json(self):
213213
return data
214214

215215

216-
class ProtocolOutput(ExpObject):
216+
class RunItem(ExpObject):
217217
def __init__(self, **kwargs):
218-
super(ProtocolOutput, self).__init__(**kwargs)
218+
super(RunItem, self).__init__(**kwargs)
219219

220220
self.source_protocol = kwargs.pop('source_protocol', kwargs.pop('sourceProtocol', None))
221221
self.run = kwargs.pop('run', None) # TODO Check if this should be a Run instance
@@ -225,10 +225,10 @@ def __init__(self, **kwargs):
225225

226226
@staticmethod
227227
def from_data(data):
228-
return ProtocolOutput(**data)
228+
return RunItem(**data)
229229

230230
def to_json(self):
231-
data = super(ProtocolOutput, self).to_json()
231+
data = super(RunItem, self).to_json()
232232

233233
data['sourceProtocol'] = self.source_protocol
234234
data['run'] = self.run
@@ -239,7 +239,7 @@ def to_json(self):
239239
return data
240240

241241

242-
class Data(ProtocolOutput):
242+
class Data(RunItem):
243243
def __init__(self, **kwargs):
244244
super(Data, self).__init__(**kwargs)
245245

0 commit comments

Comments
 (0)