Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
1dayac committed Oct 7, 2023
1 parent 5d88e31 commit cccdba6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion assembler/src/projects/blackbird/utils/pipeline.h
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,10 @@ class BlackBirdLauncher {
io::SingleRead long_read;
while (!long_read_parser.eof()) {
long_read_parser >> long_read;
long_read.ChangeName(long_read.name().substr(0, long_read.name().find(' ')));
if (long_read.name().find(' ') != std::string::npos) {
long_read.ChangeName(long_read.name().substr(0, long_read.name().find(' ')));
}
INFO(long_read.name());
map_of_long_reads_[long_read.name()] = {long_read.sequence()};
}
INFO(map_of_long_reads_.size() << " long reads added to the memory");
Expand Down

0 comments on commit cccdba6

Please sign in to comment.