Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe committed Jul 25, 2024
1 parent 314560e commit 29c3e64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parser/ds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ impl HgvsVariant {
HgvsVariant::CdsVariant { loc_edit, .. } => {
let loc = loc_edit.loc.inner();
let edit = loc_edit.edit.inner();
#[allow(clippy::nonminimal_bool)]
if (loc.start.cds_from == CdsFrom::End && loc.end.cds_from == CdsFrom::End)
|| ((edit.is_insertion() || edit.is_duplication())
&& loc.end.cds_from == CdsFrom::End)
Expand Down

0 comments on commit 29c3e64

Please sign in to comment.