sqinfo.put("Name", seq.getName());\r
sqinfo.put("Start", new Integer(seq.getStart()));\r
sqinfo.put("End", new Integer(seq.getEnd()));\r
- sqinfo.put("SeqFeatures", (seq.getSequenceFeatures() !=null) ? seq.getSequenceFeatures() : new Vector());\r
+ sqinfo.put("SeqFeatures", (seq.getSequenceFeatures() !=null) ? seq.getSequenceFeatures() : null);\r
sqinfo.put("PdbId",\r
(seq.getPDBId() != null) ? seq.getPDBId() : new Vector());\r
sqinfo.put("datasetSequence", (seq.getDatasetSequence() !=null) ? seq.getDatasetSequence() : new Sequence("THISISAPLACEHOLDER",""));\r
String oldname = (String) sqinfo.get("Name");\r
Integer start = (Integer) sqinfo.get("Start");\r
Integer end = (Integer) sqinfo.get("End");\r
- java.util.Vector sfeatures = (java.util.Vector) sqinfo.get(\r
+ SequenceFeature [] sfeatures = (SequenceFeature[]) sqinfo.get(\r
"SeqFeatures");\r
Vector pdbid = (Vector) sqinfo.get("PdbId");\r
Sequence seqds = (Sequence) sqinfo.get("datasetSequence");\r
sq.setEnd(end.intValue());\r
}\r
\r
- if ((sfeatures != null) && (sfeatures.size()>0))\r
+ if ((sfeatures != null) && (sfeatures.length>0))\r
{\r
sq.setSequenceFeatures(sfeatures);\r
}\r