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

check that autogenerated peptide name is unique

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@12420 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent b37b11f9
No related branches found
No related tags found
No related merge requests found
......@@ -966,7 +966,10 @@ public class ChadoCanonicalGene
String name = (String)getGene().getQualifierByName("ID").getValues().get(0);
if(isUniqueName(name+ "." + transcript_number + ":pep"))
return name+ "." + transcript_number + ":pep";
else
return name + "." + transcript_number + "a:pep";
}
catch(InvalidRelationException e)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment