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());\r
+ sqinfo.put("SeqFeatures", (seq.getSequenceFeatures() !=null) ? seq.getSequenceFeatures() : new Vector());\r
sqinfo.put("PdbId",\r
(seq.getPDBId() != null) ? seq.getPDBId() : new String(""));\r
\r
sq.setEnd(end.intValue());\r
}\r
\r
- if (sfeatures != null)\r
+ if ((sfeatures != null) && (sfeatures.size()>0))\r
{\r
sq.setSequenceFeatures(sfeatures);\r
}\r