Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't ingest objects when cell count = 0 #91

Open
shntnu opened this issue Jan 11, 2018 · 2 comments
Open

Don't ingest objects when cell count = 0 #91

shntnu opened this issue Jan 11, 2018 · 2 comments

Comments

@shntnu
Copy link
Member

shntnu commented Jan 11, 2018

When we get a Some files were invalid error, that's almost always because the number of cells were zero. So handle this explicitly, i.e., if *_Count exists and is zero and then don't ingest the objects

INFO [2018-01-10 16:29:36] Ingesting...
Some files were invalid: Cells.csv,Nuclei.csv,Cytoplasm.csv. Skipping ../../analysis/2017_12_05_Batch2/BR00092746/analysis/BR00092746-C07-2.
@mcquin
Copy link
Contributor

mcquin commented Jan 22, 2018

@shntnu To clarify, the CSV for that particular object should be skipped but not the others. For example, if Cells_Count is 0, but Nuclei_Count and Cytoplasm_Count are non-zero, then we should ingest Nuclei.csv and Cytoplasm.csv (but not Cells.csv).

@shntnu
Copy link
Member Author

shntnu commented May 4, 2018

Cell (or other compartment) count may not always be present in the Image.csv. Instead, first check whether all the compartments CSVs have zero rows; if so, log that (as opposed to a more generic Some files were invalid) and proceed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants