An example from DataPage::ValidateTrainingDataFiles (or from DataPage::ValidateTestDataFiles, the code seems largely the same):
Code: Select all
for(file = 0; file < files < this->TrainingDataFilesList->count(); files++)
{
...
const StateList* statelist = CurrentFile->States();
for (i = 0; i < statelist->Size(); i++ )
{
if( !CurrentFile->States()->Exists((*statelist)[i].Name()))
{
ostringstream oss;
oss << "Incompatible states information for " << pathArr[files].c_str();
QMessageBox msgBox(QMessageBox::Warning, tr("Warning"),
oss.str().c_str(), 0, this);
msgBox.addButton(tr("&Continue"), QMessageBox::AcceptRole);
if (msgBox.exec() == QMessageBox::AcceptRole)
{
this->TrainingDataFilesList->item(files)->setBackgroundColor(QColor(tr("lightpink")));
this->GenerateFeatureWeights->setEnabled(false);
return false;
}
}
}
...
}
When I loaded an example file (eeg3-1.dat) and one of my own experiments, which do not have the same states, I did not get an error on this. Whichever order I loaded them.
My question is whether or not this is already looked into or if I should look into this stuff myself. I mean no offense, I just want to know if I can continue my experiments or if I should put some effort in checking the source. And as said before, I've found more things like the example above.
