Skip to content

Commit 52824e5

Browse files
committed
fix filtering string in training script
1 parent 9a69c76 commit 52824e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def train(args):
132132
exclude_samples[study].append(sample)
133133

134134
# Set a filter condition for training cells based on columns in the CellArr cell metadata
135-
filter_condition = f"datasetID!='nan' and total_counts>1000 and n_genes_by_counts>500 and pct_counts_mt<20 and predicted_doublets==0 and cellTypeOntologyID!='CL:0009010'"
135+
filter_condition = f"cellTypeOntologyID!='nan' and total_counts>1000 and n_genes_by_counts>500 and pct_counts_mt<20 and predicted_doublets==0 and cellTypeOntologyID!='CL:0009010'"
136136

137137
datamodule = CellMultisetDataModule(
138138
dataset_path=tiledb_base_path,

0 commit comments

Comments
 (0)