in progress
authorcmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Sat, 20 Sep 2014 01:35:36 +0000 (01:35 +0000)
committercmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Sat, 20 Sep 2014 01:35:36 +0000 (01:35 +0000)
forester/java/src/org/forester/archaeopteryx/Constants.java
forester/java/src/org/forester/archaeopteryx/MainFrameApplication.java
forester/java/src/org/forester/test/Test.java

index 4c1930e..8321ef5 100644 (file)
@@ -43,7 +43,7 @@ public final class Constants {
     public final static boolean ALLOW_DDBJ_BLAST                                              = false;
     public final static String  PRG_NAME                                                      = "Archaeopteryx";
     final static String         VERSION                                                       = "0.9898 beta";
-    final static String         PRG_DATE                                                      = "140919";
+    final static String         PRG_DATE                                                      = "140908";
     final static String         DEFAULT_CONFIGURATION_FILE_NAME                               = "_aptx_configuration_file";
     final static String[]       DEFAULT_FONT_CHOICES                                          = { "Arial", "Helvetica",
             "Verdana", "Tahoma", "Dialog", "Lucida Sans", "SansSerif", "Sans-serif", "Sans"  };
index 85e9336..3b1c0aa 100644 (file)
@@ -2247,7 +2247,7 @@ public final class MainFrameApplication extends MainFrame {
                     if ( n.isExternal() ) {\r
                         if ( n.getNodeData().isHasSequence() ) {\r
                             final Sequence s = n.getNodeData().getSequence();\r
-                            if ( ForesterUtil.isEmpty( s.getGeneName() ) ) {\r
+                            if ( ForesterUtil.isEmpty( s.getGeneName() ) || s.getGeneName().startsWith( "LOC" ) ) {\r
                                 if ( ( s.getAccession() != null )\r
                                         && !ForesterUtil.isEmpty( s.getAccession().getValue() ) ) {\r
                                     s.setGeneName( s.getAccession().getValue() );\r
index 0dd12a5..feddccc 100644 (file)
@@ -4086,7 +4086,7 @@ public final class Test {
             if ( !ForesterUtil.isEmpty( entry3.getGeneName() ) ) {
                 return false;
             }
-            if ( entry3.getCrossReferences().size() != 8 ) {
+            if ( entry3.getCrossReferences().size() < 7 ) {
                 return false;
             }
             final SequenceDatabaseEntry entry4 = SequenceDbWsTools.obtainEntry( "AAA36557.1" );