crash when running tandem on tdf files
Bug report
Version of X!TandemPipeline
0.4.17 and development version
Error message
/home/olangella/developpement/git/xtpcpp/src/core/tandem_run/tandemparameters.cpp@351, TandemParameters::setParamLabelValue(): "spectrum, threads"
/home/olangella/developpement/git/xtpcpp/src/core/tandem_run/tandembatchprocess.cpp@199, TandemBatchProcess::run():
unknown@0, unknown(): QObject: Cannot create children for a parent that is in a different thread.
(Parent is QTextDocument(0x55637426d280), parent's thread is QThread(0x556374068890), current thread is QThread(0x7ffedcf36540)
*** Failure: /home/olangella/developpement/git/xtpcpp/build/src/xtpcpp has crashed ***
File used
tandem run on proteus1, wathever fasta file, whatever tdf directory.
## Steps to reproduce the bug is not reproductible. sometimes tandem runs, sometimes it crashes. It is related to Qthread in a way (see error message)
What is the expected correct behavior?
robust as a rock
Optional
Relevant logs and/or screenshots
Possible fixes
check the QProcess or QThreads creation when launching a job. It complains about a subprocess created in a different thread than the partent... some investigation needed.