while (en.hasMoreElements())\r
{\r
UniprotEntry entry = (UniprotEntry) en.nextElement();\r
- StringBuffer name = new StringBuffer(">Uniprot/Swiss-Prot");\r
+ StringBuffer name = new StringBuffer(">UniProt/Swiss-Prot");\r
Enumeration en2 = entry.getAccession().elements();\r
while (en2.hasMoreElements())\r
{\r
}\r
\r
sequence[i].getDatasetSequence().setPDBId(onlyPdbEntries);\r
- e = entry.getFeature().elements();\r
- while(e.hasMoreElements())\r
+ if (entry.getFeature() != null)\r
{\r
- sequence[i].getDatasetSequence().addSequenceFeature((SequenceFeature)e.nextElement());\r
+ e = entry.getFeature().elements();\r
+ while (e.hasMoreElements())\r
+ {\r
+ sequence[i].getDatasetSequence().addSequenceFeature( (\r
+ SequenceFeature) e.nextElement());\r
+ }\r
}\r
}\r
}\r