remove the index each run

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4976 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
aaron 2011-01-12 17:38:22 +00:00
parent 468ef382b7
commit 7916ab0ed5
1 changed files with 5 additions and 0 deletions

View File

@ -70,6 +70,11 @@ public class ReferenceOrderedDataPoolUnitTest extends BaseTest {
@BeforeMethod
public void setUp() {
String fileName = testDir + "TabularDataTest.dat";
// check to see if we have an index, if so, delete it
File indexFileName = new File(testDir + "TabularDataTest.dat.idx");
if (indexFileName.exists()) indexFileName.delete();
triplet = new RMDTriplet("tableTest","Table",fileName,RMDStorageType.FILE);
builder = new RMDTrackBuilder(Collections.singletonList(triplet),seq.getSequenceDictionary(),genomeLocParser,null);
}