Fixed protein desc bug
[jalview.git] / src / jalview / io / SequenceFeatureFetcher.java
index 61b25f9..9bc214f 100755 (executable)
@@ -65,16 +65,19 @@ public class SequenceFeatureFetcher implements Runnable
       map.loadMapping(url);\r
 \r
       // 2. Unmarshal the data\r
-      Unmarshaller unmar = new Unmarshaller();\r
+      Unmarshaller unmar = new Unmarshaller(uni);\r
       unmar.setIgnoreExtraElements(true);\r
       unmar.setMapping(map);\r
-      uni = (UniprotFile) unmar.unmarshal(new FileReader(file));\r
+   //   unmar.setDebug(true);\r
 \r
+      uni = (UniprotFile) unmar.unmarshal(new FileReader(file));\r
     }\r
     catch (Exception e)\r
     {\r
       System.out.println("Error getUniprotEntries() "+e);\r
     }\r
+\r
+\r
     return uni.getUniprotEntries();\r
   }\r
 \r