palaeoware / trevosim

TREvoSim - The [Tr]ee [Evo]lutionary [Sim]ulator program
GNU General Public License v3.0
5 stars 3 forks source link

Batch vs run file numbering #35

Closed ms609 closed 3 months ago

ms609 commented 4 months ago

"Run" and "Batch" behave differently, and thus do not play nicely together.

So clicking Run, Run, Batch(25), Run results in

As overwriting without prompting feels undesirable (and unnecessary), I would consider updating "batch" to behave like "run". This would also provide an easier way to expand a batch; it seems that at present the only way to expand a batch is to discard previous results and start from scratch.

RussellGarwood commented 3 months ago

I've modified the behaviuor to reflecy this (very sensible) suggestion. Thanks. The above will now result in 28 runs written to a file. The only place this may trip up is if a batch is cancelled part way through: I can't easily update the counter on cancel of a parellelised part of the code. This won't cause crashes, but may result in some runs being overwritten.