Skip to content

Commit 32b63d7

Browse files
committed
skim does the open_pore_level
1 parent 50b0865 commit 32b63d7

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

docs/commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ If the file is intact, the commands exits with 0. Otherwise it exits with a non-
264264

265265
### skim
266266

267-
Skims through components in a SLOW5/BLOW5 file requested by user (using options) and prints to standard out. If no options are provided, all the SLOW5 fields except the raw signal will be printed to standard out. enum data types are printed as strings. This subprogramme is available form slow5tools v0.7.0 onwards.
267+
Skims through components in a SLOW5/BLOW5 file requested by user (using options) and prints to standard out. If no options are provided, all the SLOW5 fields except the raw signal will be printed to standard out. enum data types are printed as strings. This subprogramme is available form slow5tools v0.7.0 onwards. Note that while the primary fields are printed in strict order, the order of auxiliary fields are not bound by any strict order.
268268

269269
```
270270
slow5tools skim [OPTIONS] file.blow5

src/skim.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,8 @@ static void (*aux_print_func(char *field))(struct aux_print_param *p){
252252
aux_func = float_print;
253253
} else if (strcmp(field,"num_minknow_events")==0){ //uint64_t
254254
aux_func = start_time_num_minknow_events_print;
255+
} else if (strcmp(field,"open_pore_level")==0){ //float
256+
aux_func = float_print;
255257
} else{
256258
aux_func = just_the_dot;
257259
WARNING("Field '%s' is not yet handled or not present in the input file. A '.' will be printed\n",field);

0 commit comments

Comments
 (0)