Skip to content

Commit b21c66c

Browse files
committed
Add cleanup to AppendNimble
1 parent 2c4e564 commit b21c66c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

singlecell/resources/chunks/AppendNimble.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ if (!file.exists('/homeDir/.netrc')) {
66
invisible(Rlabkey::labkey.setCurlOptions(NETRC_FILE = '/homeDir/.netrc'))
77
Rdiscvr::SetLabKeyDefaults(baseUrl = serverBaseUrl, defaultFolder = defaultLabKeyFolder)
88

9+
# NOTE: this file is created by DownloadAndAppendNimble if there was an error. It might exist if a job failed and then was restarted
10+
if (file.exists('debug.nimble.txt')) {
11+
unlink('debug.nimble.txt')
12+
}
13+
914
for (datasetId in names(seuratObjects)) {
1015
printName(datasetId)
1116
seuratObj <- readSeuratRDS(seuratObjects[[datasetId]])

0 commit comments

Comments
 (0)