Skip to content
Snippets Groups Projects
Commit d0117080 authored by tjc's avatar tjc
Browse files

allow abbreviated as well as full version of evidence code

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@10128 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent a8a93f5c
No related branches found
No related tags found
No related merge requests found
...@@ -213,7 +213,9 @@ public class GoBox extends AbstractCvBox ...@@ -213,7 +213,9 @@ public class GoBox extends AbstractCvBox
{ {
for(int i=0; i<evidenceCodes[2].length; i++) for(int i=0; i<evidenceCodes[2].length; i++)
{ {
if(evidenceCodes[2][i].equalsIgnoreCase(evidence)) // look for full text or abbreviation of the code
if(evidenceCodes[2][i].equalsIgnoreCase(evidence) ||
evidenceCodes[0][i].equalsIgnoreCase(evidence))
return i; return i;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment