Skip to content

Commit

Permalink
increase cell count requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
jashapiro committed Nov 4, 2024
1 parent 7d7f4c6 commit 1501058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/export-anndata.nf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ workflow sce_to_anndata {
// number of cells are stored in each metadata.json file
.filter{
def cells = Utils.getMetaVal(file(it[3]), "${it[2]}_cells");
cells == '' || cells > 1 // if no cell count, keep file for testing, otherwise require at least 2 cells
cells == '' || cells > 2 // if no cell count, keep file for testing, otherwise require at least 3 cells
}
// remove metadata.json file from tuple
.map{it.dropRight(1)}
Expand Down

0 comments on commit 1501058

Please sign in to comment.