Commit 62bd1b73 authored by Amine  GHOZLANE's avatar Amine GHOZLANE

Fix shaman on conda

parent 6b7a663f
Pipeline #48793 passed with stage
in 29 minutes and 29 seconds
......@@ -2,9 +2,10 @@
prefix=Sys.getenv(x = "CONDA_PREFIX")
prefix=paste(prefix, "bin", sep=.Platform$file.sep)
system(paste("python ", prefix, "shaman_bioblend/ -w ", prefix,"shamanapp/www/masque/ -s -d", sep=.Platform$file.sep))
workdir = getwd()
kronarshy=tempfile("kronarshy",fileext=".R", tmpdir =workdir )
write(paste("library(\"shiny\");runApp(appDir=\"", prefix,"KronaRShy\", port=5438)", sep=.Platform$file.sep),kronarshy)
system(paste("Rscript", kronarshy), wait=FALSE)
shamanapp=tempfile("shaman", fileext=".R", tmpdir =workdir)
write(paste("library(\"shiny\");runApp(appDir=\"", prefix,"shamanapp\", port=80, host=\"\")", sep=.Platform$file.sep), shamanapp)
system(paste("Rscript", shamanapp), wait=FALSE)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment