From 4bbd628d647521056a54d60b1fc1562416f1b851 Mon Sep 17 00:00:00 2001 From: chaopower Date: Wed, 10 Jan 2024 11:51:33 +0800 Subject: [PATCH] qc bug --- codes/postprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codes/postprocess.py b/codes/postprocess.py index 78a9a5e..a56427b 100755 --- a/codes/postprocess.py +++ b/codes/postprocess.py @@ -514,7 +514,7 @@ class PostProcess: self.sheet['hla'] = self.txt_2_excel(hla) def qc(self): - qc_files = glob.glob(os.path.join(self.path, 'qc', '*_qc.txt')) + qc_files = glob.glob(os.path.join(self.path, 'qc', f'{self.sample_name}_qc.txt')) qc_res = [] if qc_files: if os.path.getsize(qc_files[0]) > 0: