Skip to content

Commit

Permalink
Update DoAbsolute.R
Browse files Browse the repository at this point in the history
  • Loading branch information
ShixiangWang committed Feb 19, 2021
1 parent 14bd008 commit 998be53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/DoAbsolute.R
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,8 @@ DoAbsolute <- function(Seg, Maf = NULL,
## This will make problem when iteration computation with same temp dir
# absolute_files = file.path(cache.dir, grep("RData", dir(cache.dir), value = TRUE))
absolute_files <- file.path(cache.dir, paste0(SAMPLES, ".ABSOLUTE.RData"))
cat("--> Files in cache directory:\n")
print(dir(cache.dir))
if (verbose) cat("-> Checking result files...\n")
for (f in absolute_files) {
if (!file.exists(f)) {
Expand Down Expand Up @@ -445,7 +447,7 @@ DoAbsolute <- function(Seg, Maf = NULL,
maf.dir <- file.path(results.dir, "maf")
dir.create(seg.dir, showWarnings = FALSE, recursive = TRUE)
dir.create(maf.dir, showWarnings = FALSE, recursive = TRUE)
cat("--> Copying DoAbsolute files in review dir to result directory...")
cat("--> Copying DoAbsolute files in review dir to result directory...\n")
t <- file.copy(file.path(reviewed.dir, grep("DoAbsolute", dir(reviewed.dir), value = TRUE)), results.dir)

files_seg <- file.path(
Expand Down

0 comments on commit 998be53

Please sign in to comment.