Skip to content

Commit

Permalink
Initialize range property
Browse files Browse the repository at this point in the history
  • Loading branch information
seppinho committed Mar 27, 2020
1 parent a7c9f92 commit 20fe13b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/genepi/imputationserver/util/RefPanelList.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ public RefPanel getById(String id, Object properties) throws IOException {
panel.setBuild(null);
}

if (map.get("range") != null) {
panel.setRange(map.get("range").toString());
} else {
panel.setRange(null);
}

if (map.get("mapMinimac") != null) {
panel.setMapMinimac(map.get("mapMinimac").toString());
} else {
Expand Down

0 comments on commit 20fe13b

Please sign in to comment.