Skip to content

Commit

Permalink
Use new CSV loader in test environment
Browse files Browse the repository at this point in the history
Replace `CSVLoader` with `CSVLoaderNewSearch` in test setup.
  • Loading branch information
TDeSain committed Mar 3, 2025
1 parent ded1c3c commit c338877
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import edu.harvard.hms.dbmi.avillach.hpds.etl.genotype.NewVCFLoader;
import edu.harvard.hms.dbmi.avillach.hpds.etl.genotype.VariantMetadataLoader;
import edu.harvard.hms.dbmi.avillach.hpds.etl.phenotype.csv.CSVLoader;
import edu.harvard.hms.dbmi.avillach.hpds.etl.phenotype.csv.CSVLoaderNewSearch;

import java.io.IOException;

Expand All @@ -21,7 +22,7 @@ public enum BuildIntegrationTestEnvironment {
BuildIntegrationTestEnvironment() {
try {
NewVCFLoader.main(new String[] {VCF_INDEX_FILE, STORAGE_DIR, MERGED_DIR});
CSVLoader.main(new String[] {PHENOTYPIC_DATA_DIRECTORY});
CSVLoaderNewSearch.main(new String[] {PHENOTYPIC_DATA_DIRECTORY}); // this is not the current CSVLoader for current version of the application
VariantMetadataLoader.main(new String[] {"./src/test/resources/test_vcfIndex.tsv", binFile, "target/VariantMetadataStorage.bin"});
VariantStore variantStore = VariantStore.readInstance(STORAGE_DIR);
BucketIndexBySample bucketIndexBySample = new BucketIndexBySample(variantStore, STORAGE_DIR);
Expand Down

0 comments on commit c338877

Please sign in to comment.