Skip to content

Commit

Permalink
uo to 5.0.2 and dbutr coord check
Browse files Browse the repository at this point in the history
  • Loading branch information
kkarra committed Jun 17, 2021
1 parent 53760d2 commit d4c3235
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ext {

subprojects {
group = 'org.intermine'
version = '5.0.0'
version = '5.0.2'

apply plugin: 'java'
apply plugin: 'maven'
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
systemProp.imVersion=5.0.0
systemProp.bioVersion=5.0.0
systemProp.imVersion=5.0.2
systemProp.bioVersion=5.0.2

Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@ private String getLocation(Item subject, String chromosomeRefId,
String start = startCoord;
String end = stopCoord;

if(new Integer(start) > new Integer(end)){
start = stopCoord;
end = startCoord;
}

if (!StringUtils.isEmpty(start) && !StringUtils.isEmpty(end)) {
subject.setAttribute("length", getLength(start, end));
}
Expand Down

0 comments on commit d4c3235

Please sign in to comment.