Apparently, with our test data using hashedDrops doesn't assign cells to any of our samples. This prints out an empty list again, which we want to avoid. I checked, and using HTODemux only assigns cells to one sample but not all of them. This leads to a list with just one value while the list of sample IDs is longer. This would mean there is no way to match which cell count goes to which sample.
If no cells are assigned, we should set to 0 rather than having an empty list. This PR makes that adjustment by looking for any missing sample IDs and then assigning those to 0.
Apparently, with our test data using
hashedDrops
doesn't assign cells to any of our samples. This prints out an empty list again, which we want to avoid. I checked, and usingHTODemux
only assigns cells to one sample but not all of them. This leads to a list with just one value while the list of sample IDs is longer. This would mean there is no way to match which cell count goes to which sample.If no cells are assigned, we should set to 0 rather than having an empty list. This PR makes that adjustment by looking for any missing sample IDs and then assigning those to 0.