Skip to content

Commit

Permalink
Merge pull request #696 from ecalifornica/695-remove-top-level-code-s…
Browse files Browse the repository at this point in the history
…cript

Remove top level code environment script
  • Loading branch information
reece committed Sep 18, 2023
2 parents 4efed79 + 4305139 commit 22f56c9
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/hgvs/normalizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,17 +446,6 @@ def _normalize_alleles(self, var, boundary):

return base + start, base + stop, (ref, alt)


if __name__ == "__main__":
from hgvs.parser import Parser

hgvsparser = Parser()
var = hgvsparser.parse_hgvs_variant("NM_001166478.1:c.61delG")
hdp = connect()
norm = Normalizer(hdp, shuffle_direction=5, cross_boundaries=False)
res = norm.normalize(var)
print(str(var) + " => " + str(res))

# <LICENSE>
# Copyright 2018 HGVS Contributors (https://github.com/biocommons/hgvs)
#
Expand Down

0 comments on commit 22f56c9

Please sign in to comment.