misantamaria commited on
Commit
05038f5
·
1 Parent(s): cc10202

añadido ls de control al encoder

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -3
  2. r_shiny_app/server.R +2 -1
Dockerfile CHANGED
@@ -37,9 +37,8 @@ RUN chmod +777 /home/app/wandb
37
  RUN mkdir /home/data/wandb_artifacts
38
  RUN chmod +777 /home/data/wandb_artifacts
39
  RUN mkdir ./artifacts
40
- RUN mkdir './artifacts/mvp-SWV:v1'
41
- RUN chmod +777 './artifacts/mvp-SWV:v1'
42
-
43
 
44
  RUN echo "--> Go!"
45
 
 
37
  RUN mkdir /home/data/wandb_artifacts
38
  RUN chmod +777 /home/data/wandb_artifacts
39
  RUN mkdir ./artifacts
40
+ RUN chmod -r +777 ./artifacts
41
+ RUN ls -la /home/.artifacts
 
42
 
43
  RUN echo "--> Go!"
44
 
r_shiny_app/server.R CHANGED
@@ -580,7 +580,8 @@ shinyServer(function(input, output, session) {
580
  flush.console()
581
  #artifact_dir = ts_ar$download(root=DEFAULT_PATH_WANDB_ARTIFACTS)
582
  #print(paste0("Reactive tsdf | Read feather | Downloaded: ", artifact_dir))
583
-
 
584
  df <- read_feather(path, as_data_frame = TRUE, mmap = FALSE) %>% rename('timeindex' = `__index_level_0__`)
585
  t_end = Sys.time()
586
  print(paste0("Reactive tsdf | Read feather | Execution time: ", t_end - t_init, " seconds"))
 
580
  flush.console()
581
  #artifact_dir = ts_ar$download(root=DEFAULT_PATH_WANDB_ARTIFACTS)
582
  #print(paste0("Reactive tsdf | Read feather | Downloaded: ", artifact_dir))
583
+ system('ls -la /.artifacts', intern=TRUE)
584
+ system('ls -la /.artifacts/mvp-SWV:v1', intern=TRUE)
585
  df <- read_feather(path, as_data_frame = TRUE, mmap = FALSE) %>% rename('timeindex' = `__index_level_0__`)
586
  t_end = Sys.time()
587
  print(paste0("Reactive tsdf | Read feather | Execution time: ", t_end - t_init, " seconds"))