compute_widths only looks at models in main madgraph directory
Bug #1457580 reported by
Alex Sherman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MadGraph5_aMC@NLO |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When attempting to use compute_widths, even if a model import has been specified to another directory, there will be an error thrown if a copy of that model is not in the main madgraph/models directory. Debug file is attached, I had created a copy of a UFO model that I knew was NOT in my MadGraph/
Also, once you put a copy in the MG5_aMC_v2_2_3/ directory, it will still save the param_card.dat to the originally specified model import location, not the one in the MG5_aMC_v2_2_3/ directory, even though it requires this one to function.
Changed in mg5amcnlo: | |
status: | New → Fix Committed |
Changed in mg5amcnlo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks a lot,
Here is the fix:
=== modified file 'madgraph/ interface/ madgraph_ interface. py' interface/ madgraph_ interface. py 2015-05-22 16:18:38 +0000 interface/ madgraph_ interface. py 2015-05-22 18:06:25 +0000
logger. warning( warning_ text)
--- madgraph/
+++ madgraph/
@@ -6412,7 +6412,7 @@
if not model: model[' name'] model.get( 'modelpath' ) (['madgraph' ], ['INFO']):
model = import_ ufo.import_ model(model name, decay=True)
- modelname = self._curr_
+ modelname = self._curr_
with misc.MuteLogger
Cheers,
Olivier
On 21 May 2015, at 12:09, Alex Sherman <email address hidden> wrote:
> Public bug reported: MG5_aMC_ v2_2_3/ models/ directory. /bugs.launchpad .net/bugs/ 1457580/ +attachment/ 4401868/ +files/ MG5_debug /bugs.launchpad .net/bugs/ 1457580 MG5_aMC_ v2_2_3/ models/ directory. /bugs.launchpad .net/mg5amcnlo/ +bug/1457580/ +subscriptions
>
> When attempting to use compute_widths, even if a model import has been
> specified to another directory, there will be an error thrown if a copy
> of that model is not in the main madgraph/models directory. Debug file
> is attached, I had created a copy of a UFO model that I knew was NOT in
> my MadGraph/
>
> Also, once you put a copy in the MG5_aMC_v2_2_3/ directory, it will
> still save the param_card.dat to the originally specified model import
> location, not the one in the MG5_aMC_v2_2_3/ directory, even though it
> requires this one to function.
>
> ** Affects: mg5amcnlo
> Importance: Undecided
> Status: New
>
> ** Attachment added: "MG5_debug"
> https:/
>
> --
> You received this bug notification because you are subscribed to
> MadGraph5_aMC@NLO.
> https:/
>
> Title:
> compute_widths only looks at models in main madgraph directory
>
> Status in MadGraph5_aMC@NLO Generator:
> New
>
> Bug description:
> When attempting to use compute_widths, even if a model import has been
> specified to another directory, there will be an error thrown if a
> copy of that model is not in the main madgraph/models directory. Debug
> file is attached, I had created a copy of a UFO model that I knew was
> NOT in my MadGraph/
>
> Also, once you put a copy in the MG5_aMC_v2_2_3/ directory, it will
> still save the param_card.dat to the originally specified model import
> location, not the one in the MG5_aMC_v2_2_3/ directory, even though it
> requires this one to function.
>
> To manage notifications about this bug go to:
> https:/