Skip to content

Commit

Permalink
Logging to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ramari16 committed Oct 8, 2024
1 parent 2eca8bf commit 724764e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/github-actions-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
- name: Test with Maven
run: mvn clean test
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ github.token }}
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ public PhenotypeMetaStore(@Value("${HPDS_DATA_DIRECTORY:/opt/local/hpds/}") Stri
columnMetaFile = hpdsDataDirectory + "columnMeta.javabin";
try (ObjectInputStream objectInputStream = new ObjectInputStream(new GZIPInputStream(new FileInputStream(columnMetaFile)));){
TreeMap<String, ColumnMeta> _metastore = (TreeMap<String, ColumnMeta>) objectInputStream.readObject();
log.info("_metastore.size() = " + _metastore.size());
TreeMap<String, ColumnMeta> metastoreScrubbed = new TreeMap<String, ColumnMeta>();
for(Map.Entry<String,ColumnMeta> entry : _metastore.entrySet()) {
metastoreScrubbed.put(entry.getKey().replaceAll("\\ufffd",""), entry.getValue());
}
metaStore = metastoreScrubbed;
patientIds = (TreeSet<Integer>) objectInputStream.readObject();
log.info("patientIds.size() = " + patientIds.size());
objectInputStream.close();
} catch (IOException | ClassNotFoundException e) {
log.warn("************************************************");
Expand Down

0 comments on commit 724764e

Please sign in to comment.