Running FIAMS Workflow on MacOS leads to an infinite loop on merging injections.
It seems to be due to the SampleGroupProcessorMultithread called from inside a sample group iteration loop.
another side effect about that was the progress bar jumping from different, not monotonic, increasing values.
In this PR, is also fixed:
a crash if you expend details of the progress information while the first event is not yet received (at the beginning of the workflow)
ProcessSequenceSegments and ProcessSampleGroups use spawn_workers instead of run_processor which makes it use threading processing.
Running FIAMS Workflow on MacOS leads to an infinite loop on merging injections.
It seems to be due to the SampleGroupProcessorMultithread called from inside a sample group iteration loop. another side effect about that was the progress bar jumping from different, not monotonic, increasing values.
In this PR, is also fixed: