|
@@ -139,10 +139,10 @@ Experiment::start ()
|
|
|
tr("ID to use :"), QLineEdit::Normal,
|
|
|
QDir::home().dirName(), &ok));
|
|
|
|
|
|
- if((*suffix) == "algo" || (*suffix) == "random" || (*suffix) == "_algo" || (*suffix) == "_random")
|
|
|
+ if((*suffix) == "algo" || (*suffix) == "_algo" || (*suffix) == "random" || (*suffix) == "_random" || (*suffix) == "expert" || (*suffix) == "_expert")
|
|
|
{
|
|
|
QMessageBox msgBox;
|
|
|
- msgBox.setText("Your name can't be [_]algo or [_]random.");
|
|
|
+ msgBox.setText("Your name can't be [_]algo or [_]random. or [_]expert");
|
|
|
msgBox.exec();
|
|
|
ok = false;
|
|
|
}
|
|
@@ -179,7 +179,7 @@ Experiment::start ()
|
|
|
|
|
|
for(int i = 0 ; i<filenames->size() ; i++)
|
|
|
{
|
|
|
- QString jsonFile((*dataPath)+"/"+QFileInfo(filenames->at(i)).baseName()+(*suffix_IA)+".json");
|
|
|
+ QString jsonFile((*dataPath)+"/"+QFileInfo(filenames->at(i)).baseName()+(*suffix_algo)+".json");
|
|
|
if(! (QFile(jsonFile).exists()) )
|
|
|
{
|
|
|
qDebug() << "WARNING !!!! " << jsonFile << " file missing";
|