diff --git a/VERSIONLOG.md b/VERSIONLOG.md index e0b4ef7f..20c22f71 100644 --- a/VERSIONLOG.md +++ b/VERSIONLOG.md @@ -1,5 +1,9 @@ # Scilifelab_epps Version Log +## 20240126.1 + +Discover latest anglerfish run even if embedded in subdir of run dir + ## 20240122.1 Enable copy_field_art2samp to copy values from Aggregate QC steps diff --git a/scripts/parse_anglerfish_results.py b/scripts/parse_anglerfish_results.py index d3ebaeee..758ec252 100644 --- a/scripts/parse_anglerfish_results.py +++ b/scripts/parse_anglerfish_results.py @@ -35,7 +35,7 @@ def find_latest_flowcell_run(currentStep: Process) -> str: def find_latest_anglerfish_run(latest_flowcell_run_path: str) -> str: - anglerfish_query = f"{latest_flowcell_run_path}/*anglerfish_run*" + anglerfish_query = f"{latest_flowcell_run_path}/**/anglerfish_run*" anglerfish_glob = glob.glob(anglerfish_query) assert (