Skip to content
Snippets Groups Projects
Commit 828883d1 authored by tjc's avatar tjc
Browse files

fix for drawing a read when its mate is not in the view

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@11863 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 4c0e3e9e
No related branches found
No related tags found
No related merge requests found
......@@ -670,7 +670,7 @@ public class JamView extends JPanel
int thisEnd = thisStart + samRecord.getReadString().length();
if(drawLine &&
(samRecord.getMateAlignmentStart()-samRecord.getAlignmentEnd())*pixPerBase > 2.f)
Math.abs(samRecord.getMateAlignmentStart()-samRecord.getAlignmentEnd())*pixPerBase > 2.f)
{
g2.setStroke(originalStroke);
g2.setColor(Color.LIGHT_GRAY);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment