Skip to content

Commit

Permalink
fix: disable nested parallel processing for chromatograms
Browse files Browse the repository at this point in the history
This fix addresses a comment in issue
sneumann/xcms#627 (comment).
  • Loading branch information
jorainer committed Apr 30, 2024
1 parent 6284cc6 commit 72e4dab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: MSnbase
Title: Base Functions and Classes for Mass Spectrometry and Proteomics
Version: 2.29.4
Version: 2.29.5
Description: MSnbase provides infrastructure for manipulation,
processing and visualisation of mass spectrometry and
proteomics data, ranging from raw to quantitative and
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# MSnbase 2.29

## MSnbase 2.29.5

- Disable nested parallel processing for `chromatogram()` method.

## MSnbase 2.29.4

- Move XML to suggests.
Expand Down
2 changes: 1 addition & 1 deletion R/functions-OnDiskMSnExp.R
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ precursorValue_OnDiskMSnExp <- function(object, column) {
match(fileNames(subs), fns),
FUN = function(cur_sample, cur_file, rtm, mzm, aggFun) {
## Load all spectra for that file. applies also any proc steps
sps <- spectra(cur_sample)
sps <- spectra(cur_sample, BPPARAM = SerialParam())
## Related to issue #229: can we avoid getting all spectra and
## just return the intensity values for each spectrum instead?
rts <- rtime(cur_sample)
Expand Down

0 comments on commit 72e4dab

Please sign in to comment.