Commit 008ba894 authored by jkvis's avatar jkvis
Browse files

Fixed integer positions

parent 3929f40f
...@@ -477,10 +477,10 @@ def describe_repeats(reference, sample, units): ...@@ -477,10 +477,10 @@ def describe_repeats(reference, sample, units):
cm = Crossmap([reference_start + 1, reference_end], [], 1) cm = Crossmap([reference_start + 1, reference_end], [], 1)
for variant in description: for variant in description:
for inserted in variant.inserted: for inserted in variant.inserted:
inserted.start = cm.tuple2string(cm.g2x(inserted.start)) inserted.start = cm.tuple2string(cm.g2x(int(inserted.start)))
inserted.end = cm.tuple2string(cm.g2x(inserted.end)) inserted.end = cm.tuple2string(cm.g2x(int(inserted.end)))
variant.start = cm.tuple2string(cm.g2x(variant.start)) variant.start = cm.tuple2string(cm.g2x(int(variant.start)))
variant.end = cm.tuple2string(cm.g2x(variant.end)) variant.end = cm.tuple2string(cm.g2x(int(variant.end)))
return description, reference_start, reference_end return description, reference_start, reference_end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment