Skip to content

Use "Setting nevents" to extract number of events for MG and add protection for multiple such printouts

Spyros Argyropoulos requested to merge fix2 into master

Description of bug

Bug related to nevents extraction for MadGraph, affecting releases made after Zach's changes in !800 (merged) See #131 (closed)

Changes introduced

  • Use
MadGraphUtils ... Setting nevents ... = ...

to extract nevents

  • add warning if multiple "Setting nevents" printouts are found

Tests

Before test

Screenshot_2020-12-08_at_17.52.56

After test

Screenshot_2020-12-08_at_18.07.46

Also you if I put the "Setting nevents" line twice in the log file the new warning shows up:

Screenshot_2020-12-09_at_17.42.53

Still works on old releases

Issues resolved

Closes #131 (closed)

Edited by Spyros Argyropoulos

Merge request reports

Loading