Skip to content
Snippets Groups Projects
Commit 40cf0ba0 authored by Langella Olivier's avatar Langella Olivier
Browse files

pepxml file extension now recognized (such as .pep.xml)

parent 450ed133
No related branches found
No related tags found
Loading
......@@ -86,7 +86,7 @@ void LoadResultsDialog::chooseFiles() {
QString default_location = settings.value("path/identificationfiles", "").toString();
QStringList filenames = QFileDialog::getOpenFileNames(this,tr("identification files"),default_location,
tr("X!Tandem, Mascot DAT or mzIdentML files (*.xml *.mzid *.dat);;all files (*)") );
tr("X!Tandem, Mascot DAT or mzIdentML files (*.xml *.mzid *.dat *.pepxml *.pepXML);;all files (*)") );
if (filenames.size() > 0) {
settings.setValue("path/identificationfiles", QFileInfo(filenames[0]).absolutePath());
......
......@@ -103,6 +103,9 @@ IdentificationDataSourceSp IdentificationDataSourceStore::getInstance(const QStr
} else if (ext.toLower() == "pep.xml") {
//pep xml file
p_identfile = std::make_shared<IdentificationPepXmlFile>(location_file);
} else if (ext.toLower() == "pepxml") {
//pep xml file
p_identfile = std::make_shared<IdentificationPepXmlFile>(location_file);
} else if (ext.toLower() == "dat") {
//MASCOT dat file
p_identfile = std::make_shared<IdentificationMascotDatFile>(location_file);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment