param scan output

Bug #1533201 reported by Kentarou Mawatari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
Fix Released
Undecided
Unassigned

Bug Description

Hi Olivier,

I'm using the scan command in param_card, but always got the error message in the last step to get an output file for the scanned results. The debug file shows:

generate_events wo_cut_scan
generate_events -f
generate_events -f
generate_events -f
Traceback (most recent call last):
  File "/Users/mawatari/work/tools/mg5/MG5_aMC_v2_3_3/madgraph/interface/extended_cmd.py", line 908, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/Users/mawatari/work/tools/mg5/MG5_aMC_v2_3_3/madgraph/interface/extended_cmd.py", line 897, in onecmd_orig
    return func(arg, **opt)
  File "/Users/mawatari/work/tools/mg5/MG5_aMC_v2_3_3/madgraph/interface/madevent_interface.py", line 2042, in do_generate_events
    name = misc.get_scan_name(orig_name, self.run_name)
  File "/Users/mawatari/work/tools/mg5/MG5_aMC_v2_3_3/madgraph/various/misc.py", line 332, in get_scan_name
    while base[-1].isdigit():
IndexError: list index out of range

I tried several run names, but this didn't help...

thanks,
Kentarou

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote : Re: [Bug 1533201] [NEW] param scan output

Hi,

Can you give me the information needed to replicate this?

Cheers,

Olivier
> On Jan 12, 2016, at 13:16, Kentarou Mawatari <email address hidden> wrote:
>
> Public bug reported:
>
> Hi Olivier,
>
> I'm using the scan command in param_card, but always got the error
> message in the last step to get an output file for the scanned results.
> The debug file shows:
>
> generate_events wo_cut_scan
> generate_events -f
> generate_events -f
> generate_events -f
> Traceback (most recent call last):
> File "/Users/mawatari/work/tools/mg5/MG5_aMC_v2_3_3/madgraph/interface/extended_cmd.py", line 908, in onecmd
> return self.onecmd_orig(line, **opt)
> File "/Users/mawatari/work/tools/mg5/MG5_aMC_v2_3_3/madgraph/interface/extended_cmd.py", line 897, in onecmd_orig
> return func(arg, **opt)
> File "/Users/mawatari/work/tools/mg5/MG5_aMC_v2_3_3/madgraph/interface/madevent_interface.py", line 2042, in do_generate_events
> name = misc.get_scan_name(orig_name, self.run_name)
> File "/Users/mawatari/work/tools/mg5/MG5_aMC_v2_3_3/madgraph/various/misc.py", line 332, in get_scan_name
> while base[-1].isdigit():
> IndexError: list index out of range
>
> I tried several run names, but this didn't help...
>
> thanks,
> Kentarou
>
> ** Affects: mg5amcnlo
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to
> MadGraph5_aMC@NLO.
> https://bugs.launchpad.net/bugs/1533201
>
> Title:
> param scan output
>
> Status in MadGraph5_aMC@NLO:
> New
>
> Bug description:
> Hi Olivier,
>
> I'm using the scan command in param_card, but always got the error
> message in the last step to get an output file for the scanned
> results. The debug file shows:
>
> generate_events wo_cut_scan
> generate_events -f
> generate_events -f
> generate_events -f
> Traceback (most recent call last):
> File "/Users/mawatari/work/tools/mg5/MG5_aMC_v2_3_3/madgraph/interface/extended_cmd.py", line 908, in onecmd
> return self.onecmd_orig(line, **opt)
> File "/Users/mawatari/work/tools/mg5/MG5_aMC_v2_3_3/madgraph/interface/extended_cmd.py", line 897, in onecmd_orig
> return func(arg, **opt)
> File "/Users/mawatari/work/tools/mg5/MG5_aMC_v2_3_3/madgraph/interface/madevent_interface.py", line 2042, in do_generate_events
> name = misc.get_scan_name(orig_name, self.run_name)
> File "/Users/mawatari/work/tools/mg5/MG5_aMC_v2_3_3/madgraph/various/misc.py", line 332, in get_scan_name
> while base[-1].isdigit():
> IndexError: list index out of range
>
> I tried several run names, but this didn't help...
>
> thanks,
> Kentarou
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mg5amcnlo/+bug/1533201/+subscriptions

Revision history for this message
Kentarou Mawatari (kentarou-mawatari) wrote :

This seems to happen when we specify the run name, e.g. 'launch -n mtop'. Kentarou

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

Here is a patch.

Thanks,

Olivier

Changed in mg5amcnlo:
status: New → Fix Committed
Changed in mg5amcnlo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.