int conversion of a string "nevents" that contains a float
Quite often people define nevents by multiplying a bunch of numbers (safe margin, truth efficiency etc.), then nevents is a float. The log file would contain
20:49:39 Py:MadGraphUtils INFO Setting nevents = 11000.0.
where "1100.0" is picked by logParser as a string. Then in the check script
https://gitlab.cern.ch/atlas-physics/pmg/mcjoboptions/-/blob/master/scripts/logParser.py#L271 neventsMG=int(generatorDict['nevents'][0])
will crash, as int("11000.0") would not work. ValueError: invalid literal for int() with base 10
Would this be fixed? Thanks!
Best, Xiaohu