Because of line
|
if !ensembl_id.is_versionless_and_uppercase() { |
, Ensembl IDs which don't even match the pattern end up being called "versioned or lowercase" IDs. We could probably collapse all these checks into one check, which, if fails, returns one type of error like "invalid Ensembl ID". On the other hand, if we just move around the order of these checks, we can detect an invalid Ensembl ID when we fetch from the map and detect whether it was versioned/uppercase.
In any case, an ID like "foo" will end up with a VersionedOrLowercase error, which is incorrect.
Because of line
xenium-panel-validate/crates/core/src/gene_list.rs
Line 189 in fafdc45
In any case, an ID like "foo" will end up with a
VersionedOrLowercaseerror, which is incorrect.