Skip to content
Snippets Groups Projects
Commit aefc74f1 authored by es2's avatar es2
Browse files

added polypeptide as feature key that requires joining

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@2553 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent af3f78bc
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.13 2005-04-28 08:12:52 tjc Exp $
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/io/GFFDocumentEntry.java,v 1.14 2005-05-18 09:02:19 es2 Exp $
*/
package uk.ac.sanger.artemis.io;
......@@ -36,7 +36,7 @@ import java.util.Vector;
* A DocumentEntry that can read an GFF entry from a Document.
*
* @author Kim Rutherford
* @version $Id: GFFDocumentEntry.java,v 1.13 2005-04-28 08:12:52 tjc Exp $
* @version $Id: GFFDocumentEntry.java,v 1.14 2005-05-18 09:02:19 es2 Exp $
**/
public class GFFDocumentEntry extends SimpleDocumentEntry
......@@ -157,7 +157,7 @@ public class GFFDocumentEntry extends SimpleDocumentEntry
try
{
String key = this_feature.getKey().getKeyString();
if(key.equals("CDS") || key.equals("polypeptide_domain"))
if(key.equals("CDS") || key.equals("polypeptide_domain") || key.equals("polypeptide"))
{
if(this_feature.getQualifierByName("Parent") != null)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment