PDB is now PDBEntry
authoramwaterhouse <Andrew Waterhouse>
Thu, 10 Nov 2005 11:01:51 +0000 (11:01 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 10 Nov 2005 11:01:51 +0000 (11:01 +0000)
src/jalview/analysis/SeqsetUtils.java

index 06a8192..564e3f1 100755 (executable)
@@ -51,7 +51,7 @@ public class SeqsetUtils
     sqinfo.put("End", new Integer(seq.getEnd()));\r
     sqinfo.put("SeqFeatures", (seq.getSequenceFeatures() !=null) ? seq.getSequenceFeatures() : new Vector());\r
     sqinfo.put("PdbId",\r
-               (seq.getPDBId() != null) ? seq.getPDBId() : new String(""));\r
+               (seq.getPDBId() != null) ? seq.getPDBId() : new Vector());\r
     sqinfo.put("datasetSequence", (seq.getDatasetSequence() !=null) ? seq.getDatasetSequence() : new Sequence("THISISAPLACEHOLDER",""));\r
     return sqinfo;\r
   }\r
@@ -71,7 +71,7 @@ public class SeqsetUtils
     Integer end = (Integer) sqinfo.get("End");\r
     java.util.Vector sfeatures = (java.util.Vector) sqinfo.get(\r
         "SeqFeatures");\r
-    String pdbid = (String) sqinfo.get("PdbId");\r
+    Vector pdbid = (Vector) sqinfo.get("PdbId");\r
     Sequence seqds = (Sequence) sqinfo.get("datasetSequence");\r
     if (oldname == null)\r
     {\r