sqinfo.put("SeqFeatures", (seq.getSequenceFeatures() !=null) ? seq.getSequenceFeatures() : new Vector());\r
sqinfo.put("PdbId",\r
(seq.getPDBId() != null) ? seq.getPDBId() : new String(""));\r
-\r
+ sqinfo.put("datasetSequence", (seq.getDatasetSequence() !=null) ? seq.getDatasetSequence() : new Sequence("THISISAPLACEHOLDER",""));\r
return sqinfo;\r
}\r
\r
java.util.Vector sfeatures = (java.util.Vector) sqinfo.get(\r
"SeqFeatures");\r
String pdbid = (String) sqinfo.get("PdbId");\r
-\r
+ Sequence seqds = (Sequence) sqinfo.get("datasetSequence");\r
if (oldname == null)\r
{\r
namePresent = false;\r
{\r
sq.setSequenceFeatures(sfeatures);\r
}\r
+ if ((seqds!=null) && !(seqds.getName().equals("THISISAPLACEHOLDER") && seqds.getLength()==0)) {\r
+ sq.setDatasetSequence(seqds);\r
+ }\r
\r
return namePresent;\r
}\r