Type fix in nevents check for MadGraph
Description of bug
- MadGraph prints nevents either as an int or as a float according to how the user sets it up in the jO and this causes logParser to fail since it expects an int. Zach changed this here: atlas/athena!32907 (merged) but for backwards compatibility I make the check type-insensitive
Changes introduced
- When checking
nevents
in MadGraph handle both ints and floats
Tests
Before fix
Running on a log provided by @avroy
Traceback (most recent call last):
File "scripts/logParser.py", line 272, in madgraphChecks
neventsMG=int(generatorDict['"nevents"'][0])
ValueError: invalid literal for int() with base 10: '22000.0'
After fix
---------------------
Summary:
---------------------
Errors : 0 , Warnings : 1 -> Some warnings encountered, check that these are ok before submitting production!
Issues resolved
Closes #