Skip to content
Snippets Groups Projects
Commit 8bda7002 authored by tjc's avatar tjc
Browse files

fix ticks

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@10671 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent f53ed2d0
No related branches found
No related tags found
No related merge requests found
......@@ -112,6 +112,9 @@ public class Utils
div = 100000;
int tickNum = sequenceLength / div;
int tick = tickNum * (div / 10);
if(tick < 1)
tick = 2;
while ((sequenceLength % tick) < (div / 10))
{
tickNum++;
......
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