In #64 I introduced a bug if chooseFromList was called with multiple = FALSE and addAllPattern = TRUE, the latter being the standard setting. Obviously, it makes no sense to select "all" if you are not allowed to select multiple, so I set addAllPattern to FALSE if multiple is FALSE
the lower lines are just sorting…
That is how it looked like:
Please choose slurm mode:
That was the mess it created:
1,a: priority
2: short
3: standby
4: priority mem=8000
5: short mem=8000
6: standby mem=8000
7: priority mem=32000
8: direct
1: priority
2,p: short
3,f: standby
Uses the first option if empty.
Number or leave empty:
chooseFromList
was called withmultiple = FALSE
andaddAllPattern = TRUE
, the latter being the standard setting. Obviously, it makes no sense to select "all" if you are not allowed to select multiple, so I setaddAllPattern
toFALSE
ifmultiple
isFALSE
That was the mess it created:
1,a: priority 2: short 3: standby 4: priority mem=8000 5: short mem=8000 6: standby mem=8000 7: priority mem=32000 8: direct 1: priority 2,p: short 3,f: standby Uses the first option if empty. Number or leave empty: