File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ class FcsFile(DataClassMixin):
35
35
sample_name : Optional [str ] = field (default = ReadOnly (optional = True )) # type: ignore
36
36
size : int = field (default = ReadOnly ()) # type: ignore
37
37
_spill_string : Optional [str ] = field (
38
- metadata = config (field_name = "spillString" ), default = None
38
+ metadata = config (field_name = "spillString" ),
39
+ default = None ,
39
40
)
40
41
41
42
def __repr__ (self ):
@@ -226,9 +227,12 @@ def spill_string(self):
226
227
if self ._spill_string :
227
228
return self ._spill_string
228
229
else :
229
- ss = ce .APIClient ().get_fcs_file (self .experiment_id , self ._id ).spill_string
230
- self ._spill_string = ss
231
- return ss
230
+ ss = ce .APIClient ().get_fcs_file (self .experiment_id , self ._id , as_dict = True )
231
+ if ss ["spillString" ]:
232
+ self ._spill_string = ss ["spillString" ]
233
+ else :
234
+ self ._spill_string = ""
235
+ return self ._spill_string
232
236
233
237
def get_events (
234
238
self , inplace : bool = False , destination = None , ** kwargs
You can’t perform that action at this time.
0 commit comments