aboutsummaryrefslogtreecommitdiffstats
path: root/R/tranches_RV_BC.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/tranches_RV_BC.R')
-rw-r--r--R/tranches_RV_BC.R4
1 files changed, 2 insertions, 2 deletions
diff --git a/R/tranches_RV_BC.R b/R/tranches_RV_BC.R
index 62e648f8..5c81e357 100644
--- a/R/tranches_RV_BC.R
+++ b/R/tranches_RV_BC.R
@@ -1,7 +1,7 @@
library(logging)
basicConfig()
removeHandler('basic.stdout')
-addHandler(writeToFile, file=file.path(Sys.getenv("LOG_DIR"), "tranches_RV_BC.log"))
+addHandler(writeToFile, file=file.path(Sys.getenv("SERENITAS_LOG_DIR"), "tranches_RV_BC.log"))
library(optparse)
option_list <- list(
make_option(c("-u", "--update"), action="store_true", default=FALSE,
@@ -27,7 +27,7 @@ if(is.null(args$config)){
runs <- list(mappings=list(c(args$index1, args$tenor1, args$index2, args$tenor2)))
}else{
library(yaml)
- runs <- yaml.load_file(file.path(Sys.getenv("CODE_DIR"), "etc", args$config))
+ runs <- yaml.load_file(file.path(Sys.getenv("SERENITAS_CONFIG_DIR"), args$config))
}
source("optimization.R")