Skip to content

Commit 846a5a2

Browse files
committed
Fix bug in logging
1 parent 569af02 commit 846a5a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

singlecell/resources/chunks/SaveData.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ if (length(errorMessages) > 0) {
1111
write(errorMessages, file = 'seuratErrors.txt')
1212
}
1313

14-
if (file.exists('savedSeuratObjects.txt')) {
15-
print(paste0('Total lines in savedSeuratObjects.txt:', length(readLines('savedSeuratObjects.txt'))))
14+
if (file.exists(trackerFile)) {
15+
print(paste0('Total lines in ', trackerFile, ':', length(readLines(trackerFile))))
1616
} else {
17-
print('File does not exist: savedSeuratObjects.txt')
17+
print(paste0('File does not exist: ', trackerFile))
1818
}

0 commit comments

Comments
 (0)