display diagrams reports error

Bug #1773212 reported by Joshua Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
Fix Released
Undecided
Unassigned

Bug Description

On running the command :

generate u c > H u c [QCD]; display diagrams

I get the error:

Command "generate u c > H u c [QCD]; display diagrams" interrupted in sub-command:
"display diagrams" with error:
TypeError : draw() got an unexpected keyword argument 'type'

I have also attached my debug file.

Revision history for this message
Joshua Lin (joshuazlin) wrote :
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

Hi,

Thanks for reporting this,

I've just push the fix in the development version.

This will be include in 2.6.3.

Thanks,

Olivier

=== modified file 'madgraph/interface/amcatnlo_interface.py'
--- madgraph/interface/amcatnlo_interface.py 2016-09-01 09:44:05 +0000
+++ madgraph/interface/amcatnlo_interface.py 2018-05-25 13:58:11 +0000
@@ -384,7 +384,7 @@
                 else:
                     for diag_type, get_amps in get_amps_dict.items():
                         self._curr_amps = get_amps()
- self.draw(' '.join(args[1:]), type=diag_type)
+ self.draw(' '.join(args[1:]), Dtype=diag_type)
                 # set _curr_amps back to empty
                 self._curr_amps = diagram_generation.AmplitudeList()

Changed in mg5amcnlo:
status: New → Fix Committed
Changed in mg5amcnlo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.