Skip to content

Commit

Permalink
retrieve bc events from newer files
Browse files Browse the repository at this point in the history
  • Loading branch information
mateidavid committed Jan 4, 2016
1 parent e397027 commit 7198123
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/fast5.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,14 @@ class File
static std::vector< std::string > _events_path =
{ "/BaseCalled_template/Events",
"/BaseCalled_complement/Events" };
return get_bc_2d_root() + _events_path.at(i);
if (_basecall_version < std::string("1.16"))
{
return get_bc_2d_root() + _events_path.at(i);
}
else
{
return get_bc_1d_root() + _events_path.at(i);
}
}

std::string model_file_path(size_t i) const
Expand Down

0 comments on commit 7198123

Please sign in to comment.