Closed zbjornson closed 2 years ago
I haven't tested this to confirm, but from read the code, we don't correctly handle the special comp types.
https://github.com/primitybio/cellengine-python-toolkit/blob/1f9dd168f1f27e2beba69f02e340371190857b33/cellengine/resources/experiment.py#L211-L233
The setter will set "UNCOMPENSATED" and friends as _active_comp, and the getter tries to retrieve the comp by ID if it's a string.
"UNCOMPENSATED"
_active_comp
We also need to provide an enum/constants for UNGATED, FILE_INTERNAL and PER_FILE.
UNGATED
FILE_INTERNAL
PER_FILE
I haven't tested this to confirm, but from read the code, we don't correctly handle the special comp types.
https://github.com/primitybio/cellengine-python-toolkit/blob/1f9dd168f1f27e2beba69f02e340371190857b33/cellengine/resources/experiment.py#L211-L233
The setter will set
"UNCOMPENSATED"
and friends as_active_comp
, and the getter tries to retrieve the comp by ID if it's a string.We also need to provide an enum/constants for
UNGATED
,FILE_INTERNAL
andPER_FILE
.