Skip to content

Commit

Permalink
util/alignment/io/reader/builder: Update invalid format compression m…
Browse files Browse the repository at this point in the history
…ethod error message
  • Loading branch information
zaeleus committed Sep 25, 2024
1 parent f5777ce commit ba4d080
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion noodles-util/src/alignment/async/io/reader/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ impl Builder {
(Format::Cram, Some(CompressionMethod::Bgzf)) => {
return Err(io::Error::new(
io::ErrorKind::InvalidData,
"CRAM cannot be compressed with BGZF",
"invalid format compression method: CRAM cannot be bgzip-compressed",
));
}
};
Expand Down
2 changes: 1 addition & 1 deletion noodles-util/src/alignment/io/reader/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ impl Builder {
(Format::Cram, Some(CompressionMethod::Bgzf)) => {
return Err(io::Error::new(
io::ErrorKind::InvalidData,
"CRAM cannot be bgzip-compressed",
"invalid format compression method: CRAM cannot be bgzip-compressed",
))
}
};
Expand Down

0 comments on commit ba4d080

Please sign in to comment.