display diagrams reports error
Bug #1773212 reported by
Joshua Lin
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.
Changed in mg5amcnlo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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' interface/ amcatnlo_ interface. py 2016-09-01 09:44:05 +0000 interface/ amcatnlo_ interface. py 2018-05-25 13:58:11 +0000
else:
for diag_type, get_amps in get_amps_ dict.items( ):
self. _curr_amps = get_amps()
self. _curr_amps = diagram_ generation. AmplitudeList( )
--- madgraph/
+++ madgraph/
@@ -384,7 +384,7 @@
- self.draw(' '.join(args[1:]), type=diag_type)
+ self.draw(' '.join(args[1:]), Dtype=diag_type)
# set _curr_amps back to empty