Skip to content
Snippets Groups Projects
Commit 70715460 authored by tcarver's avatar tcarver
Browse files

add ID of second gene on merge as prev_sys_id

parent 5414f376
Branches
Tags
No related merge requests found
......@@ -1495,6 +1495,11 @@ public class EditMenu extends SelectionMenu
if(chadoGene2 != null)
{
// add prev_sys_id
Qualifier q = new Qualifier("previous_systematic_id",
chadoGene2.getGeneUniqueName()+";current=false");
((Feature)chadoGene.getGene().getUserData()).addQualifierValues(q);
logger4j.debug("Now DELETE "+chadoGene2.getGeneUniqueName());
GeneUtils.deleteAllFeature((Feature)chadoGene2.getGene().getUserData(), chadoGene2);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment