Skip to content

Commit

Permalink
Merge branch 'genomic-v2' into ALS-7581
Browse files Browse the repository at this point in the history
  • Loading branch information
ramari16 committed Nov 13, 2024
2 parents 1ae1adc + 6378f5e commit 8a82ca6
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,13 +176,11 @@ private void loadGenomicCacheFiles() throws FileNotFoundException, IOException,
){
oos.writeObject(bucketIndex);
oos.flush();
oos.close();
}
}else {
}else if (new File(BUCKET_INDEX_BY_SAMPLE_FILE).exists()) {
try (ObjectInputStream objectInputStream = new ObjectInputStream(new GZIPInputStream(new FileInputStream(BUCKET_INDEX_BY_SAMPLE_FILE)));){
log.info("loading " + BUCKET_INDEX_BY_SAMPLE_FILE);
bucketIndex = (BucketIndexBySample) objectInputStream.readObject();
objectInputStream.close();
} catch (IOException | ClassNotFoundException e) {
log.error("an error occurred", e);
}
Expand Down

0 comments on commit 8a82ca6

Please sign in to comment.