From 86babac72bfd952b24a0e2bc670a2e66ebd22d3b Mon Sep 17 00:00:00 2001 From: VinzentRisch Date: Wed, 10 Jul 2024 16:27:16 +0200 Subject: [PATCH] fixed other bug in mutations empty file creation --- q2_amr/amrfinderplus/mags.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/q2_amr/amrfinderplus/mags.py b/q2_amr/amrfinderplus/mags.py index 05224f2..54e8719 100644 --- a/q2_amr/amrfinderplus/mags.py +++ b/q2_amr/amrfinderplus/mags.py @@ -97,11 +97,7 @@ def annotate_sample_data_amrfinderplus( shutil.move(mutations_path, des_dir_mutations) else: with open( - os.path.join( - str(mutations), - des_dir_mutations, - os.path.basename(mutations_path), - ), + os.path.join(des_dir_mutations, os.path.basename(mutations_path)), "w", ): pass