File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -213,9 +213,9 @@ def to_json(self):
213
213
return data
214
214
215
215
216
- class ProtocolOutput (ExpObject ):
216
+ class RunItem (ExpObject ):
217
217
def __init__ (self , ** kwargs ):
218
- super (ProtocolOutput , self ).__init__ (** kwargs )
218
+ super (RunItem , self ).__init__ (** kwargs )
219
219
220
220
self .source_protocol = kwargs .pop ('source_protocol' , kwargs .pop ('sourceProtocol' , None ))
221
221
self .run = kwargs .pop ('run' , None ) # TODO Check if this should be a Run instance
@@ -225,10 +225,10 @@ def __init__(self, **kwargs):
225
225
226
226
@staticmethod
227
227
def from_data (data ):
228
- return ProtocolOutput (** data )
228
+ return RunItem (** data )
229
229
230
230
def to_json (self ):
231
- data = super (ProtocolOutput , self ).to_json ()
231
+ data = super (RunItem , self ).to_json ()
232
232
233
233
data ['sourceProtocol' ] = self .source_protocol
234
234
data ['run' ] = self .run
@@ -239,7 +239,7 @@ def to_json(self):
239
239
return data
240
240
241
241
242
- class Data (ProtocolOutput ):
242
+ class Data (RunItem ):
243
243
def __init__ (self , ** kwargs ):
244
244
super (Data , self ).__init__ (** kwargs )
245
245
You can’t perform that action at this time.
0 commit comments