Add the backendBpparam method allowing to evaluate whether a MsBackend supports parallel processing.
Use backendBpparam across Spectra methods to eventually disable parallel processing for backends not supporting it.
Minor tweaks in .peaksapply and spectra comparison functions: avoid unnecessary splitting/joining of data if no parallel processing is performed and avoid repeated function calls in loop.
This addresses issue #271 avoiding unexpected errors with Spectra objects using e.g. database backends.
backendBpparam
method allowing to evaluate whether aMsBackend
supports parallel processing.backendBpparam
acrossSpectra
methods to eventually disable parallel processing for backends not supporting it..peaksapply
and spectra comparison functions: avoid unnecessary splitting/joining of data if no parallel processing is performed and avoid repeated function calls in loop.This addresses issue #271 avoiding unexpected errors with
Spectra
objects using e.g. database backends.