Describe the bug
If you create a gate on the compensated version of a channel in FlowJo (e.g. Comp-APC-A), and then get the gate via wsp.get_gate(sid, 'gate_name'), it uses the uncompensated version of the channels
Code To Reproduce
Code to reproduce the behavior:
import flowkit as fk
wsp = fk.Workspace(flowjo_path, find_fcs_files_from_wsp=True)
wsp.get_gate(sid, 'gate_name').get_dimension_ids()
>['APC-Cy7-A', 'APC-A']
but it should be
['Comp-APC-Cy7-A', 'Comp-APC-A']
get_gate_events returns events from the uncompensated channels too, regardless of whether source is passed as raw or comp.
get_gate_events also does not include the compensated channels, only the raw channels. However, wsp.get_transforms(sid) includes the compensated channels.
Expected behavior
The above code should return
['Comp-APC-Cy7-A', 'Comp-APC-A']
get_gate_events returns events from the uncompensated channels too, regardless of whether source is passed as raw or comp.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: macOS Tahoe 26.1
- Python version 3.11.13
- FlowKit version 1.2.3
Additional context
Add any other context about the problem here. Include traceback here
Describe the bug
If you create a gate on the compensated version of a channel in FlowJo (e.g. Comp-APC-A), and then get the gate via
wsp.get_gate(sid, 'gate_name'), it uses the uncompensated version of the channelsCode To Reproduce
Code to reproduce the behavior:
but it should be
get_gate_eventsreturns events from the uncompensated channels too, regardless of whethersourceis passed asraworcomp.get_gate_eventsalso does not include the compensated channels, only the raw channels. However,wsp.get_transforms(sid)includes the compensated channels.Expected behavior
The above code should return
['Comp-APC-Cy7-A', 'Comp-APC-A']
get_gate_eventsreturns events from the uncompensated channels too, regardless of whethersourceis passed asraworcomp.Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here. Include traceback here