Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CZID-8914] Mark empty SPAdes output as failed assembly #306

Merged
merged 3 commits into from
Nov 21, 2023

Conversation

lvreynoso
Copy link
Contributor

Fixes a bug where the workflow failed to handle cases in which samples ran through SPAdes assembly without error but did not have any contigs. The SPAdes output was not marked as ";ASSEMBLY FAILED", causing an error further along in the workflow.

@lvreynoso lvreynoso requested a review from rzlim08 November 18, 2023 01:32
Copy link
Collaborator

@rzlim08 rzlim08 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, I've tested this out on the failing samples and they seem to get the expected values.

@@ -30,7 +30,7 @@ fi

# Fix until we can update this script to follow semantic versioning
if [[ $WORKFLOW_NAME == amr ]]; then
TAG="amr-v1.3.1"
TAG="amr-v1.3.2-beta.1"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest, I think we can remove this code. If we merge this into main and release it, it should go to amr-v1.3.2.

@lvreynoso lvreynoso merged commit a3aede2 into main Nov 21, 2023
11 checks passed
@lvreynoso lvreynoso deleted the lvreynoso/mark_spades_assembly_failed branch November 21, 2023 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants