Skip to content

Commit

Permalink
Change the save monocle objects and transform directories permissions…
Browse files Browse the repository at this point in the history
… from 0700 to 0777 in io.R.
  • Loading branch information
brgew committed Mar 6, 2024
1 parent 0606cbf commit 4361869
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/io.R
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ save_transform_models <- function( cds, directory_path, comment="", verbose=TRUE
}

# Make directory if necessary.
dir.create(path = directory_path, showWarnings=FALSE, recursive=TRUE, mode='0700')
dir.create(path = directory_path, showWarnings=FALSE, recursive=TRUE, mode='0777')

# Remove files, if they exist.
for(reduction_method in names(methods_reduce_dim)) {
Expand Down Expand Up @@ -1851,7 +1851,7 @@ save_monocle_objects <- function(cds, directory_path, hdf5_assays=FALSE, comment
}

# Make directory if necessary.
dir.create(path = directory_path, showWarnings=FALSE, recursive=TRUE, mode='0700')
dir.create(path = directory_path, showWarnings=FALSE, recursive=TRUE, mode='0777')

# Remove files, if they exist.

Expand Down

0 comments on commit 4361869

Please sign in to comment.