Skip to content

Commit

Permalink
fix(tools): show the name of the sample whose result files are being …
Browse files Browse the repository at this point in the history
…processed
  • Loading branch information
BinglanLi authored and markwoon committed Aug 20, 2024
1 parent 5f0e6dd commit 8d6d1c8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/scripts/json2tsv/json2tsv_pharmcat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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)

Expand Down

0 comments on commit 8d6d1c8

Please sign in to comment.