Skip to content
Snippets Groups Projects
Commit 11e92051 authored by Laros's avatar Laros Committed by Vermaat
Browse files

Modified some constants defined in the extractor module.

parent 534a41fe
No related branches found
No related tags found
No related merge requests found
......@@ -485,7 +485,7 @@ def var2RawVar(s1, s2, var, DNA=True):
inserted=s2[var.sample_start:var.sample_end], type="delins")
# Inversion.
if var.type == extractor.VARIANT_REVERSE_COMPLEMENT:
if var.type == extractor.REVERSE_COMPLEMENT:
trim = palinsnoop(s1[var.reference_start:var.reference_end])
if trim > 0: # Partial palindrome.
......@@ -551,7 +551,7 @@ def describe(s1, s2, DNA=True):
else:
for variant in extractor.extract(unicode(s1), len(s1), unicode(s2), len(s2),
0):
if variant.type != extractor.VARIANT_IDENTITY:
if variant.type != extractor.IDENTITY:
description.append(var2RawVar(s1, s2, variant, DNA=DNA))
# Nothing happened.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment