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

hide protein feature

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@6369 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 907f7b38
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/io/GFFDocumentEntry.java,v 1.47 2007-09-07 14:10:40 tjc Exp $
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/io/GFFDocumentEntry.java,v 1.48 2007-09-11 11:00:37 tjc Exp $
*/
package uk.ac.sanger.artemis.io;
......@@ -42,7 +42,7 @@ import java.sql.Timestamp;
* A DocumentEntry that can read an GFF entry from a Document.
*
* @author Kim Rutherford
* @version $Id: GFFDocumentEntry.java,v 1.47 2007-09-07 14:10:40 tjc Exp $
* @version $Id: GFFDocumentEntry.java,v 1.48 2007-09-11 11:00:37 tjc Exp $
**/
public class GFFDocumentEntry extends SimpleDocumentEntry
......@@ -237,7 +237,10 @@ public class GFFDocumentEntry extends SimpleDocumentEntry
ChadoCanonicalGene gene = (ChadoCanonicalGene)transcripts_lookup.get(parent);
if(parent_qualifier == null)
{
((GFFStreamFeature)this_feature).setVisible(false);
gene.addProtein(parent, this_feature);
}
else if(key.equals("three_prime_UTR"))
gene.add3PrimeUtr(parent, this_feature);
else if(key.equals("five_prime_UTR"))
......
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