We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 313eca0 commit 7dbfe70Copy full SHA for 7dbfe70
reconstruction/create_subsamples.py
@@ -106,7 +106,7 @@ def subsampleCells(organisms):
106
treatmentSubsample = random.sample(treatmentOrganisms, treatmentSubsampleSize)
107
organismSubsample.extend(treatmentSubsample)
108
if args.organism:
109
- subsample = list(itertools.chain(organismCellMap[organism] for organism in organismSubsample))
+ subsample = list(itertools.chain(*[organismCellMap[organism] for organism in organismSubsample]))
110
subsamples.append(subsample)
111
elif args.bothOrganismsAndCells:
112
# Now that we have a sample of the organisms, take a sample of each selected organism's cells within each cell type
0 commit comments