about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--scripts/rqtl2_wrapper.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rqtl2_wrapper.R b/scripts/rqtl2_wrapper.R
index ab3fa3e..f71fb08 100644
--- a/scripts/rqtl2_wrapper.R
+++ b/scripts/rqtl2_wrapper.R
@@ -66,7 +66,7 @@ genRandomFileName <- function(prefix, file_ext = ".txt") {
 
 # TODO create temp directory for this workspace pass this as argument
 
-control_file_path  <- file.path("/home/kabui",
+control_file_path  <- file.path(opt$directory,
                                 genRandomFileName(prefix = "control_", file_ext = ".json"))
 
 str_glue("Generated control file path is  {control_file_path}")