Adding new functionality to BBGCDB
This commit is contained in:
parent
dcddaee7f5
commit
3188c8d2d4
@ -55,7 +55,8 @@ setupMuso <- function(executable=NULL,
|
|||||||
epcInput=NULL,
|
epcInput=NULL,
|
||||||
mapData=NULL,
|
mapData=NULL,
|
||||||
leapYear=FALSE,
|
leapYear=FALSE,
|
||||||
version=5
|
version=5,
|
||||||
|
doCopy=TRUE
|
||||||
){
|
){
|
||||||
|
|
||||||
Linuxp <-(Sys.info()[1]=="Linux")
|
Linuxp <-(Sys.info()[1]=="Linux")
|
||||||
@ -188,8 +189,11 @@ setupMuso <- function(executable=NULL,
|
|||||||
} else {
|
} else {
|
||||||
executable<-file.path(inputLoc,"muso.exe")
|
executable<-file.path(inputLoc,"muso.exe")
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
file.copy(executable,inputLoc)
|
if(doCopy){
|
||||||
|
file.copy(executable,inputLoc)
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
outputName <- character(2)
|
outputName <- character(2)
|
||||||
outputName[1] <- basename(unlist(strsplit(iniFiles[[1]][grep("OUTPUT_CONTROL",iniFiles[[1]])+1],"[\ \t]"))[1])
|
outputName[1] <- basename(unlist(strsplit(iniFiles[[1]][grep("OUTPUT_CONTROL",iniFiles[[1]])+1],"[\ \t]"))[1])
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user