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)