phylotastic hackathon at NESCENT 120606
authorcmzmasek <cmzmasek@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Wed, 6 Jun 2012 21:30:50 +0000 (21:30 +0000)
committercmzmasek <cmzmasek@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Wed, 6 Jun 2012 21:30:50 +0000 (21:30 +0000)
forester/java/src/org/forester/ws/uniprot/EbiDbEntry.java

index ef44f38..735d68f 100644 (file)
@@ -56,7 +56,7 @@ public final class EbiDbEntry implements SequenceDatabaseEntry {
             }
             else if ( line.startsWith( "DEFINITION" ) ) {
                 if ( line.indexOf( "[" ) > 0 ) {
-                    e.setDe( DatabaseTools.extract( line, "DEFINITIO", "[" ) );
+                    e.setDe( DatabaseTools.extract( line, "DEFINITION", "[" ) );
                 }
                 else {
                     e.setDe( DatabaseTools.extract( line, "DEFINITION" ) );