From 8d6d1c8f8201477fdf848f6db04bdae591832b0b Mon Sep 17 00:00:00 2001 From: Binglan Li Date: Tue, 20 Aug 2024 10:18:27 -0700 Subject: [PATCH] fix(tools): show the name of the sample whose result files are being processed --- src/scripts/json2tsv/json2tsv_pharmcat.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/scripts/json2tsv/json2tsv_pharmcat.py b/src/scripts/json2tsv/json2tsv_pharmcat.py index 9f816514..f624a023 100644 --- a/src/scripts/json2tsv/json2tsv_pharmcat.py +++ b/src/scripts/json2tsv/json2tsv_pharmcat.py @@ -179,6 +179,8 @@ futures = [] print(f'Processing samples:') for one_sample in json_samples: + print(f'\t{one_sample}') + # get the matcher and phenotyper json names for the sample matcher_file, phenotyper_file = get_json_file_names(one_sample, m_matcher_jsons, m_phenotyper_jsons) futures.append(e.submit(extract_pcat_json, matcher_file, phenotyper_file, m_genes, one_sample, @@ -190,8 +192,10 @@ for key in summary_results: summary_results[key].extend(tmp_results[key]) else: - print(f'Processing samples.') + print(f'Processing samples:') for one_sample in json_samples: + print(f'\t{one_sample}') + # get the matcher and phenotyper json names for the sample matcher_file, phenotyper_file = get_json_file_names(one_sample, m_matcher_jsons, m_phenotyper_jsons)