FeynRule code using NLOCT package for a model containing a colored scalar cannot be interfaced to madgraph.

Asked by Prasenjit Sanyal on 2018-03-06

I have written a FeynRule code using NLOCT package for a toy model where
we have a scalar which is color triplet under SU(3)c and doublet under
SU(2)L along with other SM particles. The NLO UFO is properly generated
and the mathematica code shows no error. Now when we try to interface the
UFO with Madgraph we get an error while importing the model. The error is
attached here:

Command "import model ColS_NLO/" interrupted with error:
SyntaxError : EOL while scanning string literal (CT_couplings.py, line 354)
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in 'MG5_debug'.
Please attach this file to your report.

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
2018-03-06
Last reply:
2018-03-06

Hi,

Did you check what is the line 354 of CT_couplings.py?

It is sounds that such line is not a valid line (does not follow python convention)
If this is the case this means that your UFO model is not valid (does not follow UFO/python convention)
and I do not see what I can do to help you. (except contacting NLOCT author obviously)

If the line is valid, then please send me the model.

Cheers,

Olivier

> On 6 Mar 2018, at 12:14, Prasenjit Sanyal <email address hidden> wrote:
>
> New question #665291 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/665291
>
> I have written a FeynRule code using NLOCT package for a toy model where
> we have a scalar which is color triplet under SU(3)c and doublet under
> SU(2)L along with other SM particles. The NLO UFO is properly generated
> and the mathematica code shows no error. Now when we try to interface the
> UFO with Madgraph we get an error while importing the model. The error is
> attached here:
>
> Command "import model ColS_NLO/" interrupted with error:
> SyntaxError : EOL while scanning string literal (CT_couplings.py, line 354)
> Please report this bug on https://bugs.launchpad.net/mg5amcnlo
> More information is found in 'MG5_debug'.
> Please attach this file to your report.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Prasenjit Sanyal (psanyal) said : #2

Line 354 of CT_couplings.py shows:

 order = {'QCD':2,' -2

Hi,

As expected this line does not follow python convention (single quote need to be close on the same line).
So the problem is inside your UFO model

Cheers,

Olivier

> On 6 Mar 2018, at 12:57, Prasenjit Sanyal <email address hidden> wrote:
>
> Question #665291 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/665291
>
> Status: Answered => Open
>
> Prasenjit Sanyal is still having a problem:
> Line 354 of CT_couplings.py shows:
>
> order = {'QCD':2,' -2
>
> --
> 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 Prasenjit Sanyal for more information if necessary.

To post a message you must log in.