Skip to content

Commit

Permalink
Fix the sys.time function
Browse files Browse the repository at this point in the history
  • Loading branch information
wendelljpereira committed Mar 19, 2021
1 parent b4a243b commit b7453f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server.R
Original file line number Diff line number Diff line change
Expand Up @@ -1717,7 +1717,7 @@ function(input, output, session) {
}

# Creates new folder to keep the plots organized. Adding date and time helps to avoid overwriting the data
path_new <- paste0("./images/one_sample_plots", format(Sys.time(),'_%Y%-%m%-%d%__%H%M%S'))
path_new <- paste0("./images/one_sample_plots", format(Sys.time(),'_%Y-%m-%d__%H%M%S'))

dir.create(path_new)
dir.create( paste0(path_new,"/feature_plots") )
Expand Down Expand Up @@ -3206,7 +3206,7 @@ function(input, output, session) {
}

# Creates new folder to keep the plots organized. Adding date and time helps to avoid overwriting the data
path_new <- paste0("./images/integrated_sample_plots", format(Sys.time(),'_%Y%-%m%-%d%__%H%M%S'))
path_new <- paste0("./images/integrated_sample_plots", format(Sys.time(),'_%Y-%m-%d__%H%M%S'))

dir.create(path_new)
dir.create( paste0(path_new,"/feature_plots") )
Expand Down Expand Up @@ -4427,7 +4427,7 @@ function(input, output, session) {
}

# Creates new folder to keep the plots organized. Adding date and time helps to avoid overwriting the data
path_new <- paste0("./images/trajectories_plots", format(Sys.time(),'_%Y%-%m%-%d%__%H%M%S'))
path_new <- paste0("./images/trajectories_plots", format(Sys.time(),'_%Y-%m-%d__%H%M%S'))

dir.create(path_new)
dir.create( paste0(path_new,"/Dimension_reduction") )
Expand Down Expand Up @@ -4783,7 +4783,7 @@ function(input, output, session) {
}

# Creates new folder to keep the plots organized. Adding date and time helps to avoid overwriting the data
path_new <- paste0("./images/trajectories_plots", format(Sys.time(),'_%Y%-%m%-%d%__%H%M%S'))
path_new <- paste0("./images/trajectories_plots", format(Sys.time(),'_%Y-%m-%d__%H%M%S'))

dir.create(path_new)
dir.create( paste0(path_new,"/Dimension_reduction") )
Expand Down

0 comments on commit b7453f4

Please sign in to comment.