Strip off leading {P,L}<tab>

This commit is contained in:
2024-02-27 10:29:59 -08:00
parent 6d9b35396f
commit d4d2dbcbda

View File

@@ -68,9 +68,9 @@ int main(int argc, const char **argv) {
end = (uint8_t *)memchr(begin, '\n', size);
if (line.size() > 0 && line[0] == 'P') {
write = std::move(line);
write = line.substr(2, line.size());
} else if (line.size() > 0 && line[0] == 'L') {
reads.push_back(std::move(line));
reads.push_back(line.substr(2, line.size()));
} else if (line.empty()) {
{
readRanges.resize(reads.size());