Skip to content

Commit

Permalink
fix(strandedness): break when successful
Browse files Browse the repository at this point in the history
  • Loading branch information
a-frantz committed Feb 9, 2024
1 parent 7f95d34 commit d8d9413
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/derive/command/strandedness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,13 +232,14 @@ pub fn derive(args: DeriveStrandednessArgs) -> anyhow::Result<()> {
&params,
&mut metrics,
)?;

if attempt.succeeded {
let success = attempt.succeeded;
result = Some(attempt);
if success {
info!("Strandedness test succeeded.");
break;
} else {
info!("Strandedness test inconclusive.");
}
result = Some(attempt);
}
let result = result.unwrap();

Expand Down

0 comments on commit d8d9413

Please sign in to comment.