RGLab / flowWorkspace

flowWorkspace
GNU Affero General Public License v3.0
44 stars 21 forks source link

flowjo_to_gatingset - No samples in the this workspace to parse #303

Closed netphar closed 4 years ago

netphar commented 4 years ago

Hi, I am a bit confused about the following error:

> x <- read.FCS(fcs, transformation = F, truncate_max_range = F)
> ws <- open_flowjo_xml(wsp) # from CytoML package
> fj_ws_get_samples(ws, group_id = 1) # gets samples
  sampleID                 name  count pop.counts
1        1 IntelliCyt_iQue3.fcs 120948          8
> flowjo_to_gatingset(ws, name=1, path='/Users/zagidull/Desktop/Bulat_A02_komal_FlowJo_vs_Intellicyte/13_02_2020/', 
+                     subset = "export_IntelliCyt_iQue3.fcs")
Error in (function (ws, group_id, subset, execute, path, h5_dir, includeGates,  : 
  No samples in this workspace to parse!

It seems to me that there is a sample in the workspace, as per the fj_ws_get_samples output, yet flowjo_to_gatingset does not seem to see it. Any help is appreciated!

mikejiang commented 4 years ago

ws is referring to IntelliCyt_iQue3 but you have export_IntelliCyt_iQue3

netphar commented 4 years ago

thank you so much. And thanks to the team for addressing these issues super fast!