Skip to content

Commit

Permalink
Fixed a minor bug in the test for assigner
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Venturini committed Aug 15, 2015
1 parent 615d17b commit 9d31501
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/assigner_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import unittest
import mikado_lib.loci_objects
import mikado_lib.scales

import intervaltree

class AssignerTester(unittest.TestCase):
"""
Expand Down Expand Up @@ -751,6 +751,7 @@ def test_neighbors(self):
Test for the assignment of transcripts inside the index. Still a stub
"""
keys = [(10, 200), (350, 500)]
keys = intervaltree.IntervalTree.from_tuples(keys)
self.assertEqual(mikado_lib.scales.assigner.Assigner.find_neighbours(
keys, (350,500)),
[ ((350, 500), 0), ((10, 200), 150)]
Expand Down

0 comments on commit 9d31501

Please sign in to comment.