Skip to content

Commit

Permalink
show source of used target coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
Ke Hu committed Mar 24, 2016
1 parent a4bf534 commit 880c646
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions BSPAT/src/edu/cwru/cbc/BSPAT/DataType/Constant.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ public String getAbsolutePathCoorFile() {
return (coorFilePath + coorFileName).replace(Constant.DISKROOTPATH, this.webRootPath);
}

public String getAbsolutePathTargetCoorFile() {
return (targetPath + targetFileName).replace(Constant.DISKROOTPATH, this.webRootPath);
}

public String getWebRootPath() {
return webRootPath;
}
Expand Down
16 changes: 16 additions & 0 deletions BSPAT/web/analysisResult.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,22 @@
<td><%=constant.SNPThreshold%>
</td>
</tr>
<tr>
<td>Target coordinates used:</td>
<%
if (constant.targetFileName == null) {
%>
<td><a href="manualAnalysis.jsp#targetCoordinates">default target coordinates</a></td>
<%
} else {
%>
<td><a href=<%=constant.getAbsolutePathTargetCoorFile()%>><%=constant.targetFileName%>
</a>
</td>
<%
}
%>
</tr>
</table>
<p class="dottedline"></p>
<%
Expand Down

0 comments on commit 880c646

Please sign in to comment.