Skip to content

Commit

Permalink
Merge pull request #184 from jacobagilbert/sigmf_partial_ext
Browse files Browse the repository at this point in the history
add additional sigmf filetype
  • Loading branch information
miek authored Oct 22, 2023
2 parents 88549e8 + c390d3a commit e90393b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/inputsource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,13 +400,8 @@ void InputSource::openFile(const char *filename)
annotationList.clear();
QString metaFilename;

if (suffix == "sigmf-meta") {
if (suffix == "sigmf-meta" || suffix == "sigmf-data" || suffix == "sigmf-") {
dataFilename = fileInfo.path() + "/" + fileInfo.completeBaseName() + ".sigmf-data";
metaFilename = filename;
readMetaData(metaFilename);
}
else if (suffix == "sigmf-data") {
dataFilename = filename;
metaFilename = fileInfo.path() + "/" + fileInfo.completeBaseName() + ".sigmf-meta";
readMetaData(metaFilename);
}
Expand Down

0 comments on commit e90393b

Please sign in to comment.