Skip to content

Commit

Permalink
Skip run processing after starting Anglerfish
Browse files Browse the repository at this point in the history
  • Loading branch information
kedhammar committed Mar 1, 2024
1 parent 886e507 commit 619a38f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion taca/analysis/analysis_nanopore.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ def process_qc_run(ont_qc_run: ONT_qc_run):
│ │ │ └── Skip run
│ │ ├── If Anglerfish samplesheet could not be found
│ │ │ └── Skip run
│ │ └── Run Anglerfish
│ │ ├── Run Anglerfish as subprocess
│ │ └── Skip run
│ └── If Anglerfish has failed
│ └── Throw error
├── If run has already been transferred
Expand Down Expand Up @@ -211,6 +212,7 @@ def process_qc_run(ont_qc_run: ONT_qc_run):

logger.info(f"{ont_qc_run.run_name}: Starting Anglerfish...")
ont_qc_run.run_anglerfish()
raise WaitForRun("Anglerfish has been started, skipping.")

Check warning on line 215 in taca/analysis/analysis_nanopore.py

View check run for this annotation

Codecov / codecov/patch

taca/analysis/analysis_nanopore.py#L213-L215

Added lines #L213 - L215 were not covered by tests

# Anglerfish run
elif isinstance(anglerfish_exit_code, int):
Expand Down

0 comments on commit 619a38f

Please sign in to comment.