Skip to content

Commit 87d5a2e

Browse files
authored
Merge branch 'discvr-25.11' into 25.11_fb_jb
2 parents 85179e0 + 0d1b5f1 commit 87d5a2e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

singlecell/resources/chunks/IdentifyAndStoreActiveClonotypes.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ for (datasetId in names(seuratObjects)) {
1111
printName(datasetId)
1212
seuratObj <- readSeuratRDS(seuratObjects[[datasetId]])
1313

14-
if (! 'TRB_Segments' %in% names(seuratObj@meta.data)) {
14+
if (! 'TRB_WithProductive' %in% names(seuratObj@meta.data)) {
1515
print('Re-running AppendTcr to add segment columns')
1616
seuratObj <- Rdiscvr::DownloadAndAppendTcrClonotypes(seuratObj, allowMissing = TRUE)
1717
}

singlecell/resources/chunks/PredictTcellActivation.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ for (datasetId in names(seuratObjects)) {
1111
printName(datasetId)
1212
seuratObj <- readSeuratRDS(seuratObjects[[datasetId]])
1313

14+
if (! 'TRB_WithProductive' %in% names(seuratObj@meta.data)) {
15+
print('Re-running AppendTcr to add segment columns')
16+
seuratObj <- Rdiscvr::DownloadAndAppendTcrClonotypes(seuratObj, allowMissing = TRUE)
17+
}
18+
1419
toDrop <- grep(names(seuratObj@meta.data), pattern = "sPLS", value = TRUE)
1520
if (length(toDrop) > 0) {
1621
print(paste0('Dropping pre-existing columns: ', paste0(toDrop, collapse = ', ')))

0 commit comments

Comments
 (0)