Minor bugfix -- now that the testfile is in our testdata regenerate the idx file as needed to pass tests

This commit is contained in:
Mark DePristo 2012-06-21 16:56:56 -04:00
parent 9346c5b37a
commit 6e9a81aabe
1 changed files with 1 additions and 1 deletions

View File

@ -58,8 +58,8 @@ public class TestRMDTrackBuilder extends RMDTrackBuilder {
Index index;
try {
// Create a feature reader that creates checkable tribble iterators.
index = loadIndex(inputFile, codec);
featureReader = new TestFeatureReader(inputFile.getAbsolutePath(), codec);
index = loadFromDisk(inputFile, Tribble.indexFile(inputFile));
} catch (IOException e) {
throw new RuntimeException(e);
}