Skip to content
Snippets Groups Projects
Commit a445e0ff authored by Ewelina Maria Lobodzinska's avatar Ewelina Maria Lobodzinska
Browse files

fix small problem in skel.GENtoEVGEN

parent f5964cc2
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ if hasattr(runArgs, "inputGenConfFile"):
raise RuntimeError("inputGenConfFile is invalid !! Gridpacks and config. files/links to be put into DSID directory ")
if hasattr(runArgs, "inputGeneratorFile"):
evgenLog.info("inputGeneratorFile used " + inputGeneratorFile)
evgenLog.info("inputGeneratorFile used " + runArgs.inputGeneratorFile)
## Ensure that an output name has been given
# TODO: Allow generation without writing an output file (if outputEVNTFile is None)?
......@@ -339,8 +339,8 @@ if evgenConfig.minevents > 0 :
if evgenConfig.nEventsPerJob < 1:
raise RunTimeError("evgenConfig.nEventsPerJob must be at least 1")
elif evgenConfig.nEventsPerJob > 10000:
raise RunTimeError("evgenConfig.nEventsPerJob can be max. 10000")
elif evgenConfig.nEventsPerJob > 20000:
raise RunTimeError("evgenConfig.nEventsPerJob can be max. 20000")
else:
allowed_nEventsPerJob_lt1000 = [1, 2, 5, 10, 20, 25, 50, 100, 200, 500, 1000]
msg = "evgenConfig.nEventsPerJob = %d: " % evgenConfig.nEventsPerJob
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment