Commit 3b519896 authored by Mathieu Giraud's avatar Mathieu Giraud

core/segment.{h,cpp}: fix json output for D_box, remove unused variables

Bug detected thanks to a full Valgrind.
parent 745b47db
......@@ -1071,8 +1071,8 @@ json FineSegmenter::toJson(){
if (isDSegmented()) {
seg["4"] = box_D->ref_label;
seg["4start"] = Dstart;
seg["4end"] = Dend;
seg["4start"] = box_D->start;
seg["4end"] = box_D->end;
seg["4delLeft"] = box_D->del_left;
seg["4delRight"] = box_D->del_right;
......
......@@ -116,8 +116,6 @@ class Segmenter {
protected:
string sequence;
string sequence_or_rc;
int Vend, Jstart;
int Dstart, Dend;
int CDR3start, CDR3end;
bool reversed, segmented, dSegmented;
int because;
......
Markdown is supported
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