Commit eea1b74e authored by sallet's avatar sallet
Browse files

fix a bug in FindGene

parent 23dcd3e0
......@@ -2867,7 +2867,10 @@ Gene *Prediction :: FindGene ( int start, int end, const char strand )
if ( ( right - left ) > overlap )
{
idx = i;
overlap = right-end;
// bug!!!
// overlap = right-end;
overlap = right - left;
}
}
if ( idx == -1 ) return NULL;
......
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