Skip to content

Commit

Permalink
Fixed the error traceback upon failed saving of an experiment.
Browse files Browse the repository at this point in the history
Also reoxygenated.
  • Loading branch information
LTLA committed Oct 28, 2024
1 parent acf5668 commit 673a98a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: alabaster.mae
Title: Load and Save MultiAssayExperiments
Version: 1.5.1
Date: 2024-10-16
Version: 1.5.2
Date: 2024-10-28
Authors@R: person("Aaron", "Lun", role=c("aut", "cre"), email="infinite.monkeys.with.keyboards@gmail.com")
License: MIT + file LICENSE
Description:
Expand All @@ -26,7 +26,7 @@ Suggests:
BiocStyle,
rmarkdown
VignetteBuilder: knitr
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
biocViews:
DataImport,
DataRepresentation
4 changes: 2 additions & 2 deletions R/saveMultiAssayExperiment.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ setMethod("saveObject", "MultiAssayExperiment", function(x, path, ...) {
ename <- as.character(e-1L)
tryCatch({
altSaveObject(cur.exp, file.path(edir, ename), ...)
}, error=function(e) {
stop("failed to stage 'experiments(<", class(x)[1], ">)[[", e, "]]'\n - ", e$message)
}, error=function(err) {
stop("failed to stage 'experiments(<", class(x)[1], ">)[[", e, "]]'\n - ", err$message)
})
}
}
Expand Down
2 changes: 1 addition & 1 deletion man/saveMultiAssayExperiment.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 673a98a

Please sign in to comment.