Skip to content

Commit

Permalink
Remove mandatory eagle & qcFilter yaml option
Browse files Browse the repository at this point in the history
  • Loading branch information
seppinho committed Aug 13, 2019
1 parent fa58a7d commit 49a2189
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/main/java/genepi/imputationserver/util/RefPanelList.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,10 @@ public RefPanel getById(String id, Object properties) throws IOException {

if (map.get("mapEagle") != null) {
panel.setMapEagle(map.get("mapEagle").toString());
} else {
throw new IOException("Property 'mapEagle' not found in cloudgene.yaml.");
}

if (map.get("refEagle") != null) {
panel.setRefEagle(map.get("refEagle").toString());
} else {
throw new IOException("Property 'refEagle' not found in cloudgene.yaml.");
}

if (map.get("populations") != null) {
Expand All @@ -77,11 +73,9 @@ public RefPanel getById(String id, Object properties) throws IOException {
} else {
throw new IOException("Property 'samples' not found in cloudgene.yaml.");
}

if (map.get("qcFilter") != null) {
panel.setQcFilter((Map<String, String>) map.get("qcFilter"));
} else {
throw new IOException("Property 'qcFilter' not found in cloudgene.yaml.");
}

// optional parameters
Expand Down

0 comments on commit 49a2189

Please sign in to comment.