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

look for /pseudogene as well as /pseudo

parent cb71fdef
No related branches found
No related tags found
No related merge requests found
...@@ -279,14 +279,16 @@ public class SelectMenu extends SelectionMenu ...@@ -279,14 +279,16 @@ public class SelectMenu extends SelectionMenu
add(select_by_key_item); add(select_by_key_item);
select_non_pseudo_cds_item = select_non_pseudo_cds_item =
new JMenuItem("CDS Features without /pseudo"); new JMenuItem("CDS Features without /pseudogene");
select_non_pseudo_cds_item.addActionListener(new ActionListener() select_non_pseudo_cds_item.addActionListener(new ActionListener()
{ {
public void actionPerformed(ActionEvent event) public void actionPerformed(ActionEvent event)
{ {
// select all CDS features that do not have the /pseudo qualifier // select all CDS features that do not have the /pseudo or /pseudogene qualifier
final FeatureKeyQualifierPredicate predicate = final FeaturePredicateConjunction predicate = new FeaturePredicateConjunction(
new FeatureKeyQualifierPredicate(Key.CDS, "pseudo", false); new FeatureKeyQualifierPredicate(Key.CDS, "pseudo", false),
new FeatureKeyQualifierPredicate(Key.CDS, "pseudogene", false),
FeaturePredicateConjunction.AND);
clearSelection(); clearSelection();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment