Skip to content

Commit

Permalink
Merge pull request #99 from Pathogen-Genomics-Cymru/tests
Browse files Browse the repository at this point in the history
update final report to accept QC sucesses
  • Loading branch information
WhalleyT authored Aug 30, 2024
2 parents d60fccf + 57ac2bb commit 4db798a
Show file tree
Hide file tree
Showing 17 changed files with 8 additions and 1,564 deletions.
8 changes: 8 additions & 0 deletions bin/create_final_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,20 @@ def process_requirements(args):

res_report1 = re.findall(r"^.+[\/|\\](.*?)\_species\_in\_sample\_pass\_(.*)\.json$", report_file)
res_report2 = re.findall(r"^(.*?)_species\_in\_sample\_pass\_(.*)\.json$", report_file)
res_report3 = re.findall(r"^.+[\/|\\](.*?)\_species\_in\_sample\.json$", report_file)
res_report4 = re.findall(r"^(.*?)_species\_in\_sample\.json$", report_file)

if len(res_report1) > 0:
sample_id_REP = res_report1[0][0]
elif len(res_report2) > 0:
sample_id_REP = res_report2[0][0]
elif len(res_report3) > 0:
sample_id_REP = res_report3[0]
elif len(res_report4) > 0:
sample_id_REP = res_report4[0]
else:
sample_id_REP = ''
print(sample_id_REP)

sample_id = ''
if sample_id_STA != sample_id_REP:
Expand Down
119 changes: 0 additions & 119 deletions docker/Dockerfile.clockwork-0.9.9-alpha

This file was deleted.

119 changes: 0 additions & 119 deletions docker/Dockerfile.clockwork-0.9.9-beta

This file was deleted.

132 changes: 0 additions & 132 deletions docker/Dockerfile.preprocessing-0.9.9-alpha

This file was deleted.

Loading

0 comments on commit 4db798a

Please sign in to comment.