Merge lp://staging/~maddevelopers/mg5amcnlo/controlswitch into lp://staging/~mg5core1/mg5amcnlo/2.5.6

Proposed by Olivier Mattelaer
Status: Superseded
Proposed branch: lp://staging/~maddevelopers/mg5amcnlo/controlswitch
Merge into: lp://staging/~mg5core1/mg5amcnlo/2.5.6
Diff against target: 1767 lines (+1113/-488)
3 files modified
madgraph/interface/amcatnlo_run_interface.py (+295/-186)
madgraph/interface/extended_cmd.py (+481/-27)
madgraph/interface/madevent_interface.py (+337/-275)
To merge this branch: bzr merge lp://staging/~maddevelopers/mg5amcnlo/controlswitch
Reviewer Review Type Date Requested Status
Rikkert Frederix Pending
marco zaro Pending
Valentin Hirschi Pending
Review via email: mp+329031@code.staging.launchpad.net

This proposal has been superseded by a proposal from 2017-08-17.

Description of the change

Hi,

This branch refactor the code on how to ask to the user which code to run.
The idea is to have dedicated class for that to ease the possibility to edit such crucial
part of the interface via plugin method.
For that reason, this code use highly modular method and factorise the different step in a quite deep way. This makes the new code much longer than the equivalent one that it replaces.

For the user point of view the change are actually quite minimal:
1) Change the description to fit on 80 char shell.
2) Change question presentation @NLO to match the one already present @LO
3) New method for the gestion of conflict:
   - The previous user value is not overwritten directly anymore
   - The conflicted value is now set in red and the "replacement" value is set after an arrow
   - This allows to allow to use the cycle trough options without creating annoying side effects
4) The cycle trough option is now available for all options
5) the user can now set multiple switch with a single line (need to be separated by ";")

This should not be part of 2.5.6/2.6.0 but rather part of 2.6.1, at the same time,
I would like to have it merged in 2.6.1 as soon as possible such that we have plenty of time to discover potential side effects/error in the conflict handling.

To post a comment you must log in.
324. By olivier-mattelaer

remove print statement

Revision history for this message
Rikkert Frederix (frederix) wrote :

Hi Olivier,

Shouldn't the merge target be something different than 2.5.6?

Cheers,
Rik

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

Hi Rik,

Yes, but since that branch was not yet released, this was the only branch available in order to have a nice diff. As said in my comment, this was not intended to be merged in 2.5.6.

As soon as the branch 2.6.1 will be pushed, I will change the target.

Cheers,

Olivier

325. By olivier-mattelaer

improve question displayed -- adapt to the screen size--

326. By olivier-mattelaer

improve the display of the conflict with striketrough instead of yellow color

327. By olivier-mattelaer

longer striketrough to increase visibility

328. By olivier-mattelaer

fix problem when some program are not installed + allowed 1=PY8

329. By olivier-mattelaer

fix some displayed problem pointed by Stefano when some program are not available

330. By olivier-mattelaer

fix problem with script and command not accepted due to the missing;

331. By olivier-mattelaer

first change related to Valentin review

332. By olivier-mattelaer

allow to choose the shower before the edition of the card

333. By olivier-mattelaer

improvment associated to the PS choice

334. By olivier-mattelaer

improve the handling of scripting method.

335. By olivier-mattelaer

merge with latest 2.6.1

336. By olivier-mattelaer

fixing problem revealed by test suite

337. By olivier-mattelaer

merge with latest 2.6.1

Unmerged revisions

337. By olivier-mattelaer

merge with latest 2.6.1

336. By olivier-mattelaer

fixing problem revealed by test suite

335. By olivier-mattelaer

merge with latest 2.6.1

334. By olivier-mattelaer

improve the handling of scripting method.

333. By olivier-mattelaer

improvment associated to the PS choice

332. By olivier-mattelaer

allow to choose the shower before the edition of the card

331. By olivier-mattelaer

first change related to Valentin review

330. By olivier-mattelaer

fix problem with script and command not accepted due to the missing;

329. By olivier-mattelaer

fix some displayed problem pointed by Stefano when some program are not available

328. By olivier-mattelaer

fix problem when some program are not installed + allowed 1=PY8

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: