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

Revert "Small modification to accommodate for the refactored extractor library."

This reverts commit fd1f33ffbceacfa471cf5521f93ad15e9375aaf1.
parent e86fe74f
No related branches found
No related tags found
No related merge requests found
......@@ -633,7 +633,7 @@ def describe(s1, s2, dna=True):
#if
if in_transposition:
if not variant.type:
if variant.type & extractor.IDENTITY:
seq_list.append(Seq(#reference=s1,
start=variant.sample_start + 1, end=variant.sample_end,
reverse=False))
......@@ -645,7 +645,7 @@ def describe(s1, s2, dna=True):
seq_list.append(Seq(
sequence=s2[variant.sample_start:variant.sample_end]))
#if
elif variant.type:
elif not (variant.type & extractor.IDENTITY):
description.append(var_to_rawvar(s1, s2, variant, dna=dna))
if variant.type & extractor.TRANSPOSITION_CLOSE:
......
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