Skip to content

Commit 2e6c233

Browse files
committed
Set baseUrl in script
1 parent fb102b9 commit 2e6c233

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

singlecell/resources/chunks/IdentifyAndStoreActiveClonotypes.R

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
netRc <- paste0(Sys.getenv('USER_HOME'), '/.netrc')
2+
if (!file.exists(netRc)) {
3+
print(list.files(Sys.getenv('USER_HOME')))
4+
stop(paste0('Unable to find file: ', netRc))
5+
}
6+
7+
invisible(Rlabkey::labkey.setCurlOptions(NETRC_FILE = netRc))
8+
Rdiscvr::SetLabKeyDefaults(baseUrl = serverBaseUrl, defaultFolder = defaultLabKeyFolder)
9+
110
for (datasetId in names(seuratObjects)) {
211
printName(datasetId)
312
seuratObj <- readSeuratRDS(seuratObjects[[datasetId]])

0 commit comments

Comments
 (0)