Skip to content

How to ignore filenames #217

Answered by whitews
josh-gree asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Josh,

Great to hear you find the library useful.

Yes, there is a way to do this. Once you load a FlowJo .wsp file as Workspace instance, use the get_gating_strategy method to retrieve a GatingStrategy instance. That method takes a sample_id argument to get the specific gating strategy for that sample. Note, if you don't have the FCS sample, you can load the .wsp file using ignore_fcs_files=True and the workspace will still load the gating information so you can retrieve it. Then, the GatingStrategy instance can be used against any sample using its gate_sample method.

The GatingStrategy class is the engine behind both the Session and Workspace classes. However, it was also made to be us…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by josh-gree
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants