Skip to contents

Function to suppress warning messages produced by `read_gather()` and `read_taxonomy_annotate()` when results were generated by earlier versions of sourmash that didn't output all of the columns output by the current version of sourmash gather.

Usage

warning_handler(w)

Arguments

w

Warning passed to the function by withCallingHandlers()

Value

The object created by the first argument passed to the function without a warning if the warning contains "The following named parsers don't match the column names:"

Examples