Skip to content

Commit

Permalink
fix header in event
Browse files Browse the repository at this point in the history
  • Loading branch information
hasindu2008 committed Aug 11, 2023
1 parent 9ca4df1 commit 8a709f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void prefix_func(slow5_rec_t *rec, opt_t opt);
void pa_func(slow5_rec_t *rec, opt_t opt);
void stat_hdr();
void prefix_hdr(opt_t opt);
void event_hdr();
void event_hdr(opt_t opt);
void pa_hdr();
void jnn_hdr();
void jnn_func(slow5_rec_t *rec, opt_t opt);
Expand Down Expand Up @@ -94,7 +94,7 @@ int cmain(int argc, char* argv[], char *mode) {
void (*func)(slow5_rec_t*, opt_t) = NULL;

if (strcmp(mode,"event") == 0){
if(hdr) event_hdr();
if(hdr) event_hdr(opt);
func = event_func;
}else if (strcmp(mode,"stat") == 0){
if(hdr) stat_hdr();
Expand Down

0 comments on commit 8a709f6

Please sign in to comment.