Skip to content

Commit

Permalink
fix: issue #471
Browse files Browse the repository at this point in the history
  • Loading branch information
jorainer committed May 20, 2020
1 parent 82c736e commit 919ecd3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion R/functions-XCMSnExp.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ dropGenericProcessHistory <- function(x, fun) {
xs@rt <- rts

## @phenoData
xs@phenoData <- pData(from)
pd <- pData(from)
if (nrow(pd) != length(fileNames(from))) {
pd <- data.frame(file_name = basename(fileNames(from)))
rownames(pd) <- pd$file_name
}
xs@phenoData <- pd
## @filepaths
xs@filepaths <- fileNames(from)

Expand Down
2 changes: 2 additions & 0 deletions inst/NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Changes in version 3.10.1

- Fix for issue #471. Thanks for Andris Jankevics for reporting and providing a
solution.
- Fix issue #475.
- Fix problem in converting an XCMSnExp into an xcmsSet object (issue #464).

Expand Down

0 comments on commit 919ecd3

Please sign in to comment.