Set e_min_pdg from command line

Asked by Ana Luisa Moreira de Carvalho

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:
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

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.

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#2

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.

Revision history for this message
Ana Luisa Moreira de Carvalho (ana-luisa-carvalho) said :
#3

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

Revision history for this message
Ana Luisa Moreira de Carvalho (ana-luisa-carvalho) said :
#4

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

Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#5

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

Revision history for this message
Ana Luisa Moreira de Carvalho (ana-luisa-carvalho) said :
#6

Thank you very much!

Cheers,
Ana Luísa

Revision history for this message
Ana Luisa Moreira de Carvalho (ana-luisa-carvalho) said :
#7

Thanks Olivier Mattelaer, that solved my question.