Permalink
Browse files

libdir arg issue

fixes #44 where conditional to check for libdir used & instead of &&.
credit to @fpbarthel
  • Loading branch information...
gavinha committed Nov 15, 2018
1 parent 7c1a0e7 commit e214ca3f426f82939067b521fed9f7bf2a710dd8
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/R_scripts/titanCNA.R
@@ -108,7 +108,7 @@ opt <- parse_args(parseobj)
options(bitmapType='cairo', scipen=0)

libdir <- opt$libdir
if (!is.null(libdir) & libdir != "None"){
if (!is.null(libdir) && libdir != "None"){
source(paste0(libdir, "/R/plotting.R"))
source(paste0(libdir, "/R/utils.R"))
source(paste0(libdir, "/R/hmmClonal.R"))

0 comments on commit e214ca3

Please sign in to comment.