Skip to content

Commit

Permalink
rm index-specific empty collection handling
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegenes committed Mar 20, 2024
1 parent c4e3917 commit 0afa188
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@ pub fn index<P: AsRef<Path>>(
allow_failed_sigpaths,
)?;

if collection.len() == 0 {
bail!(
"No sketches matching parameters, check input: '{}'",
&siglist
)
}

RevIndex::create(
output.as_ref(),
collection.select(selection)?.try_into()?,
Expand Down

0 comments on commit 0afa188

Please sign in to comment.