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 @@ -36,7 +36,8 @@ class FcsFile(DataClassMixin):
36
36
sample_name : Optional [str ] = field (default = ReadOnly (optional = True )) # type: ignore
37
37
size : int = field (default = ReadOnly ()) # type: ignore
38
38
_spill_string : Optional [str ] = field (
39
- metadata = config (field_name = "spillString" ), default = None
39
+ metadata = config (field_name = "spillString" ),
40
+ default = None ,
40
41
)
41
42
42
43
def __repr__ (self ):
@@ -275,9 +276,12 @@ def spill_string(self):
275
276
if self ._spill_string :
276
277
return self ._spill_string
277
278
else :
278
- ss = ce .APIClient ().get_fcs_file (self .experiment_id , self ._id ).spill_string
279
- self ._spill_string = ss
280
- return ss
279
+ ss = ce .APIClient ().get_fcs_file (self .experiment_id , self ._id , as_dict = True )
280
+ if ss ["spillString" ]:
281
+ self ._spill_string = ss ["spillString" ]
282
+ else :
283
+ self ._spill_string = ""
284
+ return self ._spill_string
281
285
282
286
def get_events (
283
287
self , inplace : bool = False , destination = None , ** kwargs
You can’t perform that action at this time.
0 commit comments