save traces

When the option is selected, overall accuracy, features and classifiers are saved
This commit is contained in:
Paul Leroy
2023-03-22 23:45:19 +01:00
parent 2dd6e19c55
commit ec5507be5b
8 changed files with 244 additions and 54 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ bool Tools::SaveClassifier( QString filename,
const masc::Classifier& classifier,
QWidget* parent/*=nullptr*/)
{
//first save the classifier data (same base filename but with the ymal extension)
//first save the classifier data (same base filename but with the yaml extension)
QFileInfo fi(filename);
QString yamlFilename = fi.baseName() + ".yaml";
QString yamlAbsoluteFilename = fi.absoluteDir().absoluteFilePath(yamlFilename);