Set e_min_pdg from command line

Asked by Ana Luisa Moreira de Carvalho on 2018-10-10

Dear experts,

I am trying to set the parameter e_min_pdg from the run_card using:

set e_min_pdg 25 XXX

I get the warning: need more than 1 value to unpack.

However, if I do: set eta_min_pdg X Y, that has a similar syntax everything works ok, so I'm guessing the problem is not the syntax? Any idea of what could be?

Thank you in advance.

Cheers,
Ana Luísa

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
2018-10-11
Last query:
2018-10-11
Last reply:
2018-10-11

That's a bug on our side.
I'm looking at it.

Cheers,

Olivier

> On 10 Oct 2018, at 16:37, Ana Luisa Moreira de Carvalho <email address hidden> wrote:
>
> New question #674989 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/674989
>
> Dear experts,
>
> I am trying to set the parameter e_min_pdg from the run_card using:
>
> set e_min_pdg 25 XXX
>
> I get the warning: need more than 1 value to unpack.
>
> However, if I do: set eta_min_pdg X Y, that has a similar syntax everything works ok, so I'm guessing the problem is not the syntax? Any idea of what could be?
>
> Thank you in advance.
>
> Cheers,
> Ana Luísa
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

A temporary work around is to use
>> set e_min_pdg {25:XXX}

Do not put ANY additional space otherwise it will not work.

Cheers,

Olivier

> On 10 Oct 2018, at 17:22, Olivier Mattelaer <email address hidden> wrote:
>
> Question #674989 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/674989
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> That's a bug on our side.
> I'm looking at it.
>
> Cheers,
>
> Olivier
>
>> On 10 Oct 2018, at 16:37, Ana Luisa Moreira de Carvalho <email address hidden> wrote:
>>
>> New question #674989 on MadGraph5_aMC@NLO:
>> https://answers.launchpad.net/mg5amcnlo/+question/674989
>>
>> Dear experts,
>>
>> I am trying to set the parameter e_min_pdg from the run_card using:
>>
>> set e_min_pdg 25 XXX
>>
>> I get the warning: need more than 1 value to unpack.
>>
>> However, if I do: set eta_min_pdg X Y, that has a similar syntax everything works ok, so I'm guessing the problem is not the syntax? Any idea of what could be?
>>
>> Thank you in advance.
>>
>> Cheers,
>> Ana Luísa
>>
>> --
>> You received this question notification because you are an answer
>> contact for MadGraph5_aMC@NLO.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Hello,

Maybe this is a stupid question but I've tried to use that but it does not seem to be working (I believe I've not introduced any extra spaces). Do I have to download/update my MadGraph version to a more recent one where the fix is implemented?

Thank you,
Ana Luísa

Just a follow up: I get the warning INFO: modify parameter E_min_pdg of the run_card.dat to None

Hi,

I'm not surprised but I believe that this is actually working (if you check your run_card you will see that it is correctly changed to what you expect and not to None)

Now a real patch for this issue is now in place in the dev version.
You can download it at this page:
https://bazaar.launchpad.net/~mg5core1/mg5amcnlo/2.6.4/revision/302

Cheers,

Olivier

Thank you very much!

Cheers,
Ana Luísa

Thanks Olivier Mattelaer, that solved my question.