Skip to content

Commit

Permalink
change default group to the database on microb98
Browse files Browse the repository at this point in the history
  • Loading branch information
yhwu committed Aug 7, 2015
1 parent 08ec74f commit 0279a99
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions intSiteUploader.R
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
library(RMySQL, quietly=TRUE, verbose=FALSE)
library(dplyr, quietly=TRUE, verbose=FALSE)

script_dir <- dirname(sub("--file=", "", grep("--file=", commandArgs(trailingOnly=FALSE), value=T)))
codeDir <- dirname(sub("--file=", "", grep("--file=", commandArgs(trailingOnly=FALSE), value=T)))

source(file.path(script_dir, "utils.R"))
source(file.path(script_dir, "load_tables.R"))
source(file.path(codeDir, "utils.R"))
source(file.path(codeDir, "load_tables.R"))

check_presence_packages()
options(stringsAsFactors=F)
Expand All @@ -19,7 +19,7 @@ check_presence_command_line_tools()
# and group for MySQL server
args <- commandArgs(trailingOnly=TRUE)
workingDir <- args[1]
mysql_group <- "intSitesDev237"
mysql_group <- "intsites_miseq"
if ( ! is.na(args[2])) {
mysql_group <- args[2]
}
Expand Down

0 comments on commit 0279a99

Please sign in to comment.