Skip to content

Commit

Permalink
fixes #1982
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandunn committed Dec 11, 2018
1 parent cf3b431 commit 121c4dd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ class AnnotatorController {
preferenceService.setCurrentOrganism(permissionService.currentUser, organism, clientToken)
String location = params.loc
// assume that the lookup is a symbol lookup value and not a location
if (location && location.contains(":") && location.contains("\\.\\.")) {
String[] splitString = location.split(":")
if (location && location.contains(':') && location.contains('..')) {
String[] splitString = location.split(':')
log.debug "splitString : ${splitString}"
String sequenceString = splitString[0]
Sequence sequence = Sequence.findByOrganismAndName(organism, sequenceString)
Expand Down

0 comments on commit 121c4dd

Please sign in to comment.