From: amwaterhouse Date: Fri, 27 Apr 2007 15:32:46 +0000 (+0000) Subject: Check pdbid size >0 X-Git-Tag: Release_2_3~120 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=0c31b158596db296fed06695f8068940c8a843c2;p=jalview.git Check pdbid size >0 --- diff --git a/src/jalview/gui/PopupMenu.java b/src/jalview/gui/PopupMenu.java index 64339b3..d43a015 100755 --- a/src/jalview/gui/PopupMenu.java +++ b/src/jalview/gui/PopupMenu.java @@ -150,7 +150,8 @@ public class PopupMenu sequenceMenu.setText(sequence.getName()); JMenuItem menuItem; - if (seq.getDatasetSequence().getPDBId() != null) + if (seq.getDatasetSequence().getPDBId() != null + && seq.getDatasetSequence().getPDBId().size()>0) { java.util.Enumeration e = seq.getDatasetSequence().getPDBId(). elements();