From 785d7f8480b622a122e65695df4208c7154f4291 Mon Sep 17 00:00:00 2001 From: Olivier Langella <olivier.langella@u-psud.fr> Date: Wed, 28 Mar 2018 10:57:02 +0200 Subject: [PATCH] check PSI MOD compliance --- src/gui/workerthread.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/gui/workerthread.cpp b/src/gui/workerthread.cpp index 40696a8e1..895c314a0 100644 --- a/src/gui/workerthread.cpp +++ b/src/gui/workerthread.cpp @@ -271,7 +271,7 @@ void WorkerThread::doWritingXpipFile(QString filename, ProjectSp project_sp) { try { emit loadingMessage(tr("writing XPIP file, please wait")); - + project_sp.get()->checkPsimodCompliance(); Xpip xpip_file(filename); xpip_file.write(project_sp); xpip_file.close(); @@ -302,6 +302,8 @@ void WorkerThread::doWritingMassChroqFile(QString filename, ProjectSp project_sp try { emit loadingMessage(tr("writing MassChroqML file, please wait")); + + project_sp.get()->checkPsimodCompliance(); MassChroQml output(filename); output.write(project_sp); output.close(); @@ -316,6 +318,8 @@ void WorkerThread::doWritingMassChroqPrmFile(QString filename, ProjectSp project try { emit loadingMessage(tr("writing MassChroqPRM file, please wait")); + + project_sp.get()->checkPsimodCompliance(); MassChroqPrm output(filename); output.write(project_sp); output.close(); @@ -330,6 +334,8 @@ void WorkerThread::doWritingProticFile(QString filename, ProjectSp project_sp) { try { emit loadingMessage(tr("writing PROTICdbML file, please wait")); + + project_sp.get()->checkPsimodCompliance(); ProticdbMl output(filename); output.write(project_sp); output.close(); -- GitLab