Skip to content

Commit

Permalink
fixes #2559
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandunn committed Jan 29, 2021
1 parent f0171d5 commit 93bd09e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Features
- Added ability to use posts to sequence methods [2555](https://github.com/GMOD/Apollo/pull/2558).
- Added system info web service [2557](https://github.com/GMOD/Apollo/pull/2557).

Bug Fixes:
- Bad coordinate value in genomic element details screen in annotator panel [2559](https://github.com/GMOD/Apollo/issues/2559).

Infrastructure Changes

Expand Down
2 changes: 1 addition & 1 deletion src/gwt/org/bbop/apollo/gwt/client/GeneDetailPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public void updateData(AnnotationInfo annotationInfo) {
checkSyncButton();

if (internalAnnotationInfo.getMin() != null) {
String locationText = internalAnnotationInfo.getMin().toString();
String locationText = Integer.toString(internalAnnotationInfo.getMin()+1);
locationText += " - ";
locationText += internalAnnotationInfo.getMax().toString();
locationText += " strand(";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ public void updateData(AnnotationInfo annotationInfo) {
lastUpdatedField.setText(DateFormatService.formatTimeAndDate(internalAnnotationInfo.getDateLastModified()));

if (internalAnnotationInfo.getMin() != null) {
String locationText = internalAnnotationInfo.getMin().toString();
String locationText = Integer.toString(internalAnnotationInfo.getMin()+1);
locationText += " - ";
locationText += internalAnnotationInfo.getMax().toString();
locationText += " strand(";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public void updateData(AnnotationInfo annotationInfo) {
checkSyncButton();

if (internalAnnotationInfo.getMin() != null) {
String locationText = Integer.toString(internalAnnotationInfo.getMin());
String locationText = Integer.toString(internalAnnotationInfo.getMin()+1);
locationText += " - ";
locationText += internalAnnotationInfo.getMax().toString();
locationText += " strand(";
Expand Down
2 changes: 1 addition & 1 deletion src/gwt/org/bbop/apollo/gwt/client/VariantDetailPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public void updateData(AnnotationInfo annotationInfo) {
lastUpdatedField.setText(DateFormatService.formatTimeAndDate(internalAnnotationInfo.getDateLastModified()));

if (internalAnnotationInfo.getMin() != null) {
String locationText = internalAnnotationInfo.getMin().toString();
String locationText = Integer.toString(internalAnnotationInfo.getMin()+1);
locationText += " - ";
locationText += internalAnnotationInfo.getMax().toString();
locationText += " strand(";
Expand Down

0 comments on commit 93bd09e

Please sign in to comment.