Skip to content

Commit

Permalink
Add EC (caps) tag to be recognised too.
Browse files Browse the repository at this point in the history
  • Loading branch information
Euphrasiologist committed Oct 11, 2024
1 parent 93543f3 commit fec778c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ pub fn get_edge_coverage(options: &[OptField]) -> Result<i64> {
Int(i) => return Ok(i),
_ => bail!("Could not find integer ec:i:<i64> tag."),
},
// EC
[69, 67] => match op.value {
Int(i) => return Ok(i),
_ => bail!("Could not find integer EC:i:<i64> tag."),
},
_ => bail!("Could not find ec (edge coverage) tag."),
};
}
Expand Down

0 comments on commit fec778c

Please sign in to comment.