Reverting to accept Milan Fischer's contribution

This reverts commit 30f2f4e0bc.
This commit is contained in:
Hollos Roland 2024-04-13 07:55:15 +02:00
parent 30f2f4e0bc
commit abca8c1c86

View File

@ -17,7 +17,7 @@ calibrateMuso <- function(measuredData, parameters =read.csv("parameters.csv", s
maxLikelihoodEpc=TRUE,
pbUpdate = setTxtProgressBar, outputLoc="./", method="GLUE",lg = FALSE, w=NULL, ...){
future::plan(future::multisession, workers = numCores)
future::plan(future::multisession)
file.remove(list.files(path = settings$inputLoc, pattern="progress.txt", recursive = TRUE, full.names=TRUE))
file.remove(list.files(path = settings$inputLoc, pattern="preservedCalib.csv", recursive = TRUE, full.names=TRUE))
unlink(file.path(settings$inputLoc,"thread"),recursive=TRUE)