RGLab / CytoML

A GatingML Interface for Cross Platform Cytometry Data Sharing
GNU Affero General Public License v3.0
29 stars 14 forks source link

boolean gate error #153

Open kaitlinchaung opened 10 months ago

kaitlinchaung commented 10 months ago

Hi, I am currently trying to use the gs-to-wsp function, but I am getting errors related to boolean gating. I can't find a relevant Issue or documentation pertaining this error, so I am unsure how to proceed.

My gating template does contain boolean gates.

Command:

sudo docker run \
    -v <path>/gs:/gs \
    -v <path>/out:/out \
    public.ecr.aws/x4k5d9i7/cytoverse/gs-to-wsp \
    --src=gs/ \
    --dest=/out/test_bbt.wsp

Error:

terminate called after throwing an instance of 'std::runtime_error'
  what():  isNot flag must be TRUE in 'Not' boolean gate!

The beginning of the gating template, where the CD3Neg gate is causing the failure:

alias,pop,parent,dims,gating_method,gating_args,collapseDataForGating,groupBy,preprocessing_method,preprocessing_args
CD14gate,+,root,CD14,gate_mindensity2,"gate_range=c(1,3)",,,,
CD56gate,+,root,CD56,gate_mindensity2,"gate_range=c(1,3)",,,,
CD3gate,+,root,CD3,gate_mindensity2,"gate_range=c(1,3)",,,,
CD19gate,+,root,CD19,gate_mindensity2,"gate_range=c(1,3)",,,,
CD3Neg,+,root,CD3,boolGate,!CD3gate,,,,
CD3Pos,+,root,CD3,boolGate,CD3gate,,,,

Thank you!