lanl / 4DGB

4D Genome Browser project
1 stars 2 forks source link

Fix selections test #76

Closed camtauxe closed 2 years ago

camtauxe commented 2 years ago

When I updated refactored the Selection system, I forgot about the test suite for selections which, naturally, totally broke. It was a good thing too, because fixing these tests gave me the opportunity to fix a number of other things:

On top of all that, fixing the test script uncovered some errors in the Selection class (hey, it's what the tests are there for!). Namely, the logic around how it converts one kind of unit to another has been updated to match that of the old implementation.