Skip to content

Commit

Permalink
Add cleanup to AppendNimble
Browse files Browse the repository at this point in the history
  • Loading branch information
bbimber committed Feb 28, 2024
1 parent 2c4e564 commit b21c66c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions singlecell/resources/chunks/AppendNimble.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ if (!file.exists('/homeDir/.netrc')) {
invisible(Rlabkey::labkey.setCurlOptions(NETRC_FILE = '/homeDir/.netrc'))
Rdiscvr::SetLabKeyDefaults(baseUrl = serverBaseUrl, defaultFolder = defaultLabKeyFolder)

# NOTE: this file is created by DownloadAndAppendNimble if there was an error. It might exist if a job failed and then was restarted
if (file.exists('debug.nimble.txt')) {
unlink('debug.nimble.txt')
}

for (datasetId in names(seuratObjects)) {
printName(datasetId)
seuratObj <- readSeuratRDS(seuratObjects[[datasetId]])
Expand Down

0 comments on commit b21c66c

Please sign in to comment.