From 79a23b633fe52d3b99377d5b22b2a0cf64fbb547 Mon Sep 17 00:00:00 2001 From: Ryan Fitch <6692977+ryfi@users.noreply.github.com> Date: Sun, 25 Oct 2020 20:36:30 -0700 Subject: [PATCH] Create countgraph correctly The script in it's current form doesn't seem to create a Countgraph correctly. The call to create a Countgraph() object fails when passing a string as it expects an object. This edit fixes that issue. --- scripts/filter-abund.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/filter-abund.py b/scripts/filter-abund.py index cb729c9b77..672b92fe01 100755 --- a/scripts/filter-abund.py +++ b/scripts/filter-abund.py @@ -130,7 +130,7 @@ def main(): check_space(infiles, args.force) log_info('loading countgraph: {graph}', graph=args.input_graph) - countgraph = Countgraph.load(args.input_graph) + countgraph = khmer.load_countgraph(args.input_graph) ksize = countgraph.ksize() log_info("K: {ksize}", ksize=ksize)