Merge branch 'develop' into fix-deterministic

This commit is contained in:
Leo 2023-03-15 13:37:02 +01:00 committed by GitHub
commit b39d75125e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 5 deletions

View File

@ -104,6 +104,7 @@ class Simulator:
def initLogger(self):
"""It initializes the logger."""
logger = logging.getLogger("DAS")
if len(logger.handlers) == 0:
logger.setLevel(self.logLevel)
ch = logging.StreamHandler()
ch.setLevel(self.logLevel)

View File

@ -20,6 +20,10 @@ dumpXML = 1
visualization = 1
logLevel = logging.INFO
# number of parallel workers. -1: all cores; 1: sequential
# for more details, see joblib.Parallel
numJobs = 3
# Number of simulation runs with the same parameters for statistical relevance
runs = range(10)