|
@@ -131,8 +131,15 @@ Experiment::start ()
|
|
|
dir = QString(QDir::currentPath());
|
|
|
directoryname = new QString(dir);
|
|
|
}
|
|
|
+
|
|
|
|
|
|
-
|
|
|
+ if(!(QDir(*directoryname).exists()))
|
|
|
+ {
|
|
|
+ QMessageBox msgBox;
|
|
|
+ msgBox.setText("Data files can't be found. data folder is nedded.");
|
|
|
+ msgBox.exec();
|
|
|
+ std::exit(EXIT_FAILURE);
|
|
|
+ }
|
|
|
|
|
|
if(!dir.isEmpty())
|
|
|
{
|