@@ -17,7 +17,6 @@ class Gate:
17
17
experiment_id : str = field (on_setattr = readonly )
18
18
fcs_file_id : Optional [str ]
19
19
gid : Optional [str ]
20
- parent_population_id : Optional [str ]
21
20
tailored_per_file : Optional [bool ]
22
21
type : str
23
22
x_channel : str
@@ -44,7 +43,7 @@ def path(self):
44
43
def update (self ):
45
44
"""Save changes to this Gate to CellEngine.
46
45
If this gate does not exist, it will be created."""
47
- if not self ._id or not is_good_id (self ._id ):
46
+ if not self ._id or not is_valid_id (self ._id ):
48
47
gate = self .client .create (self )
49
48
else :
50
49
gate = self .client .update (self )
@@ -102,8 +101,6 @@ def create(
102
101
label : List [float ] = [],
103
102
gid : str = None ,
104
103
locked : bool = False ,
105
- parent_population_id : str = None ,
106
- parent_population : str = None , # TODO
107
104
tailored_per_file : bool = False ,
108
105
fcs_file_id : str = None ,
109
106
fcs_file : str = None ,
@@ -128,13 +125,6 @@ def create(
128
125
specified, then a new Group ID will be created. To create a
129
126
tailored gate, the gid of the global tailored gate must be specified.
130
127
locked (bool): Prevents modification of the gate via the web interface.
131
- parent_population_id (str): ID of the parent population. Use ``None`` for
132
- the "ungated" population. If specified, do not specify
133
- ``parent_population``.
134
- parent_population (str): Name of the parent population. An attempt will
135
- be made to find the population by name. If zero or more than
136
- one population exists with the name, an error will be thrown.
137
- If specified, do not specify ``parent_population_id``.
138
128
tailored_per_file (bool): Whether or not this gate is tailored per FCS file.
139
129
fcs_file_id (str): ID of FCS file, if tailored per file. Use ``None`` for
140
130
the global gate in a tailored gate group. If specified, do not
@@ -183,7 +173,6 @@ def create(
183
173
experiment_id = experiment_id ,
184
174
fcs_file_id = fcs_file_id ,
185
175
gid = gid ,
186
- parent_population_id = parent_population_id ,
187
176
tailored_per_file = tailored_per_file ,
188
177
type = "RectangleGate" ,
189
178
x_channel = x_channel ,
@@ -207,8 +196,6 @@ def create(
207
196
label : Optional [List [float ]] = [],
208
197
gid : Optional [str ] = None ,
209
198
locked : Optional [bool ] = False ,
210
- parent_population_id : Optional [str ] = None ,
211
- parent_population : Optional [str ] = None ,
212
199
tailored_per_file : Optional [bool ] = False ,
213
200
fcs_file_id : Optional [str ] = None ,
214
201
fcs_file : Optional [str ] = None ,
@@ -227,13 +214,6 @@ def create(
227
214
specified, then a new Group ID will be created. To create a
228
215
tailored gate, the gid of the global tailored gate must be specified.
229
216
locked (bool): Prevents modification of the gate via the web interface.
230
- parent_population_id (str): ID of the parent population. Use ``None`` for
231
- the "ungated" population. If specified, do not specify
232
- ``parent_population``.
233
- parent_population (str): Name of the parent population. An attempt will
234
- be made to find the population by name. If zero or more than
235
- one population exists with the name, an error will be thrown.
236
- If specified, do not specify ``parent_population_id``.
237
217
tailored_per_file (bool): Whether or not this gate is tailored per FCS file.
238
218
fcs_file_id (str): ID of FCS file, if tailored per file. Use ``None`` for
239
219
the global gate in a tailored gate group. If specified, do not
@@ -282,7 +262,6 @@ def create(
282
262
experiment_id = experiment_id ,
283
263
fcs_file_id = fcs_file_id ,
284
264
gid = gid ,
285
- parent_population_id = parent_population_id ,
286
265
tailored_per_file = tailored_per_file ,
287
266
type = "PolygonGate" ,
288
267
x_channel = x_channel ,
@@ -310,8 +289,6 @@ def create(
310
289
label : List [float ] = [],
311
290
gid : str = None ,
312
291
locked : bool = False ,
313
- parent_population_id : str = None ,
314
- parent_population : str = None ,
315
292
tailored_per_file : bool = False ,
316
293
fcs_file_id : str = None ,
317
294
fcs_file : str = None ,
@@ -337,13 +314,6 @@ def create(
337
314
specified.
338
315
locked (bool, optional): Prevents modification of the gate via the web
339
316
interface.
340
- parent_population_id (Optional[str]): ID of the parent population. Use
341
- ``None`` for the "ungated" population. If specified, do not specify
342
- ``parent_population``.
343
- parent_population (str, optional): Name of the parent population. An
344
- attempt will be made to find the population by name. If zero or
345
- more than one population exists with the name, an error will be
346
- thrown. If specified, do not specify ``parent_population_id``.
347
317
tailored_per_file (bool, optional): Whether or not this gate is
348
318
tailored per FCS file. fcs_file_id (str, optional): ID of FCS
349
319
file, if tailored per file. Use ``None`` for the global gate in a
@@ -396,7 +366,6 @@ def create(
396
366
experiment_id = experiment_id ,
397
367
fcs_file_id = fcs_file_id ,
398
368
gid = gid ,
399
- parent_population_id = parent_population_id ,
400
369
tailored_per_file = tailored_per_file ,
401
370
type = "EllipseGate" ,
402
371
x_channel = x_channel ,
@@ -421,8 +390,6 @@ def create(
421
390
label : List [float ] = [],
422
391
gid : str = None ,
423
392
locked : bool = False ,
424
- parent_population_id : str = None ,
425
- parent_population : str = None ,
426
393
tailored_per_file : bool = False ,
427
394
fcs_file_id : str = None ,
428
395
fcs_file : str = None ,
@@ -444,13 +411,6 @@ def create(
444
411
specified, then a new Group ID will be created. To create a
445
412
tailored gate, the gid of the global tailored gate must be specified.
446
413
locked (bool): Prevents modification of the gate via the web interface.
447
- parent_population_id (str): ID of the parent population. Use ``None`` for
448
- the "ungated" population. If specified, do not specify
449
- ``parent_population``.
450
- parent_population (str): Name of the parent population. An attempt will
451
- be made to find the population by name. If zero or more than
452
- one population exists with the name, an error will be thrown.
453
- If specified, do not specify ``parent_population_id``.
454
414
tailored_per_file (bool): Whether or not this gate is tailored per FCS file.
455
415
fcs_file_id (str): ID of FCS file, if tailored per file. Use ``None`` for
456
416
the global gate in a tailored gate group. If specified, do not
@@ -498,7 +458,6 @@ def create(
498
458
experiment_id = experiment_id ,
499
459
fcs_file_id = fcs_file_id ,
500
460
gid = gid ,
501
- parent_population_id = parent_population_id ,
502
461
tailored_per_file = tailored_per_file ,
503
462
type = "RangeGate" ,
504
463
x_channel = x_channel ,
@@ -526,8 +485,6 @@ def create(
526
485
gid : str = None ,
527
486
gids : List [str ] = None ,
528
487
locked : bool = False ,
529
- parent_population_id : str = None ,
530
- parent_population : str = None ,
531
488
tailored_per_file : bool = False ,
532
489
fcs_file_id : str = None ,
533
490
fcs_file : str = None ,
@@ -556,13 +513,6 @@ def create(
556
513
tailored gate, the gid of the global tailored gate must be specified.
557
514
gids (list): Group IDs of each sector, assigned to ``model.gids``.
558
515
locked (bool): Prevents modification of the gate via the web interface.
559
- parent_population_id (str): ID of the parent population. Use ``None`` for
560
- the "ungated" population. If specified, do not specify
561
- ``parent_population``.
562
- parent_population (str): Name of the parent population. An attempt will
563
- be made to find the population by name. If zero or more than
564
- one population exists with the name, an error will be thrown.
565
- If specified, do not specify ``parent_population_id``.
566
516
tailored_per_file (bool): Whether or not this gate is tailored per FCS file.
567
517
fcs_file_id (str): ID of FCS file, if tailored per file. Use ``None`` for
568
518
the global gate in a tailored gate group. If specified, do not
@@ -637,7 +587,6 @@ def create(
637
587
experiment_id = experiment_id ,
638
588
fcs_file_id = fcs_file_id ,
639
589
gid = gid ,
640
- parent_population_id = parent_population_id ,
641
590
tailored_per_file = tailored_per_file ,
642
591
type = "QuadrantGate" ,
643
592
x_channel = x_channel ,
@@ -662,8 +611,6 @@ def create(
662
611
gid : str = None ,
663
612
gids : List [str ] = None ,
664
613
locked : bool = False ,
665
- parent_population_id : str = None ,
666
- parent_population : str = None ,
667
614
tailored_per_file : bool = False ,
668
615
fcs_file_id : str = None ,
669
616
fcs_file : str = None ,
@@ -691,13 +638,6 @@ def create(
691
638
tailored gate, the gid of the global tailored gate must be specified.
692
639
gids (list): Group IDs of each sector, assigned to model.gids.
693
640
locked (bool): Prevents modification of the gate via the web interface.
694
- parent_population_id (str): ID of the parent population. Use ``None`` for
695
- the "ungated" population. If specified, do not specify
696
- ``parent_population``.
697
- parent_population (str): Name of the parent population. An attempt will
698
- be made to find the population by name. If zero or more than
699
- one population exists with the name, an error will be thrown.
700
- If specified, do not specify ``parent_population_id``.
701
641
tailored_per_file (bool): Whether or not this gate is tailored per FCS file.
702
642
fcs_file_id (str): ID of FCS file, if tailored per file. Use ``None`` for
703
643
the global gate in a tailored gate group. If specified, do not
@@ -763,7 +703,6 @@ def create(
763
703
experiment_id = experiment_id ,
764
704
fcs_file_id = fcs_file_id ,
765
705
gid = gid ,
766
- parent_population_id = parent_population_id ,
767
706
tailored_per_file = tailored_per_file ,
768
707
type = "SplitGate" ,
769
708
x_channel = x_channel ,
0 commit comments