Skip to content

Commit

Permalink
use one line
Browse files Browse the repository at this point in the history
  • Loading branch information
korikuzma committed Aug 24, 2023
1 parent 8ac1649 commit 2113235
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/ga4gh/vrs/normalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@ def _get_allele_location_pos(
return None

val = pos.root[0] or pos.root[1]
if pos0_is_none:
pos_type = PosType.RANGE_LT_OR_EQUAL
else:
pos_type = PosType.RANGE_GT_OR_EQUAL
pos_type = PosType.RANGE_LT_OR_EQUAL if pos0_is_none else PosType.RANGE_GT_OR_EQUAL

return LocationPos(value=val, pos_type=pos_type)

Expand Down

0 comments on commit 2113235

Please sign in to comment.