@ -29,3 +29,8 @@ isotopes to be searched for.
If `verbose.enable` is set to `TRUE`, files of the form `(fragment number).txt`
containing the `pattern.search` output will be printed to the directory
specified in `verbose.outputdir`, assuming the directory already exists.
## Additional Notes
As windows does not allow forking, the number of cores used on it will be
constrained to 1.
@ -79,6 +79,9 @@ fragments <- max(table[, columns.spectra])
# set use_cores to safe amount
use_cores = min(use_cores, detectCores() - 1)
if (.Platform$OS.type == "windows") {
use_cores=1L
}
# lower bound of indices per fragment
# (sorting guarantees that data points of same fragment are together)