incomplete PythonWriter class in file_writers

Asked by marco zaro on 2020-02-27

Hi,
for some student project, we need a python output of the matrix_element and of the helas routines (done via a plugin). We noticed that the PythonWriter class inside file_writers.py has basically no method (in 2.6.7 the only such a method is write_comments)
May I ask if it is possible to have the other functions implemented (I am mostly interested in write_line...)?

Thank you very much!

Ciao,

Marco

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
2020-02-27
Last reply:
2020-03-02

Did you check within this branch:
https://code.launchpad.net/~maddevelopers/mg5amcnlo/python_standalone <https://code.launchpad.net/~maddevelopers/mg5amcnlo/python_standalone>

If this is present there then I guess we would never done it

Cheers,

Olivier

> On 27 Feb 2020, at 17:37, marco zaro <email address hidden> wrote:
>
> New question #689030 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/689030
>
> Hi,
> for some student project, we need a python output of the matrix_element and of the helas routines (done via a plugin). We noticed that the PythonWriter class inside file_writers.py has basically no method (in 2.6.7 the only such a method is write_comments)
> May I ask if it is possible to have the other functions implemented (I am mostly interested in write_line...)?
>
> Thank you very much!
>
> Ciao,
>
> Marco
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Can you help with this problem?

Provide an answer of your own, or ask marco zaro for more information if necessary.

To post a message you must log in.