KeyError : 13
Bug #1779362 reported by
Michele Lucente
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MadGraph5_aMC@NLO |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
I encountered a possible bug while running MadGraph and MadSpin with the "SM + Heavy N at NLO in QCD” model file (arXiv:1411.7305, arXiv:1602.06957).
Actually I am not aware of its nature, the only error message I have is "KeyError : 13".
I attach the debug.log file, the shell output is too long to be attached here but I can send separately if necessary.
Thank you,
Michele
Changed in mg5amcnlo: | |
status: | New → Confirmed |
Changed in mg5amcnlo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Here is the patch:
Cheers,
Olivier
=== modified file 'MadSpin/ interface_ madspin. py' interface_ madspin. py 2018-06-22 06:52:02 +0000 interface_ madspin. py 2018-07-02 04:11:24 +0000
#misc. sprint( i, particle.pdg, particle.pid)
#misc. sprint( self.final_ state, evt_decayfile)
continue # nothing to do for this particle
nb_decay = len(evt_ decayfile[ particle. pdg])
--- MadSpin/
+++ MadSpin/
@@ -984,7 +984,7 @@
# check if we need to decay the particle
- if not (particle.pdg in self.final_state or particle.pdg in evt_decayfile):
+ if particle.pdg not in self.final_state or particle.pdg not in evt_decayfile:
# check how the decay need to be done