X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Farchaeopteryx%2FMainFrameApplication.java;h=3b1c0aa5b529d7bbbac8a0f849062ba6eb6fa0fd;hb=68d67b916ba914fb71adcc9065b20aa7332acfe8;hp=85e93363a49a8b8735e7ddc40b7b4165944d5069;hpb=f642399d323502c48c4ccb25ad6a4268a4152e6a;p=jalview.git diff --git a/forester/java/src/org/forester/archaeopteryx/MainFrameApplication.java b/forester/java/src/org/forester/archaeopteryx/MainFrameApplication.java index 85e9336..3b1c0aa 100644 --- a/forester/java/src/org/forester/archaeopteryx/MainFrameApplication.java +++ b/forester/java/src/org/forester/archaeopteryx/MainFrameApplication.java @@ -2247,7 +2247,7 @@ public final class MainFrameApplication extends MainFrame { if ( n.isExternal() ) { if ( n.getNodeData().isHasSequence() ) { final Sequence s = n.getNodeData().getSequence(); - if ( ForesterUtil.isEmpty( s.getGeneName() ) ) { + if ( ForesterUtil.isEmpty( s.getGeneName() ) || s.getGeneName().startsWith( "LOC" ) ) { if ( ( s.getAccession() != null ) && !ForesterUtil.isEmpty( s.getAccession().getValue() ) ) { s.setGeneName( s.getAccession().getValue() );