FileConverter skips mutation files without tag ID

Fileconverter doesn't know the format of old mutation logs.
This commit is contained in:
Jingyu Zhou 2019-11-26 22:50:48 -08:00
parent 3854d9a49a
commit 06fb45f32a
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ void printLogFiles(std::string msg, const std::vector<LogFile>& files) {
std::vector<LogFile> getRelevantLogFiles(const std::vector<LogFile>& files, Version begin, Version end) {
std::vector<LogFile> filtered;
for (const auto& file : files) {
if (file.beginVersion <= end && file.endVersion >= begin) {
if (file.beginVersion <= end && file.endVersion >= begin && file.tagId >= 0) {
filtered.push_back(file);
}
}