From 4c48a3f854b39c0ede9552eb908df4f2d0c99b13 Mon Sep 17 00:00:00 2001 From: Daniel Park Date: Mon, 18 Mar 2024 20:16:37 -0400 Subject: [PATCH] single tempfname --- assemble/skani.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assemble/skani.py b/assemble/skani.py index 734fe8ae..06182cc9 100644 --- a/assemble/skani.py +++ b/assemble/skani.py @@ -100,7 +100,7 @@ def find_reference_clusters(self, ref_fastas, for ref_fasta in ref_fastas: g.add_node(ref_fasta) - with util.file.tempfnames(('.skani_matrix.ani'),) as (tmp_matrix_ani,): + with util.file.tempfname('.skani_matrix.ani') as tmp_matrix_ani: # run skani triangle self.triangle(ref_fastas, tmp_matrix_ani, other_args, threads=threads)