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

strip out uniprot DE line categories

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@10122 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent dbe77c5c
No related branches found
No related tags found
No related merge requests found
...@@ -825,9 +825,17 @@ public class DataCollectionPane extends JScrollPane ...@@ -825,9 +825,17 @@ public class DataCollectionPane extends JScrollPane
if(product != null && !product.equals("")) if(product != null && !product.equals(""))
{ {
if(product.endsWith(".")) if(product.endsWith(".") ||
product.endsWith(";"))
product = product.substring(0,product.length()-1); product = product.substring(0,product.length()-1);
int ind;
if((product.startsWith("RecName:") ||
product.startsWith("SubName:") ||
product.startsWith("AltName:")) &&
(ind = product.indexOf("="))>0)
product = product.substring(ind+1);
orthoText.append("\n<br>\n/product=\""+product.toLowerCase()+"\""); orthoText.append("\n<br>\n/product=\""+product.toLowerCase()+"\"");
} }
} }
......
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