}\r
\r
viewport.showSequenceFeatures = true;\r
- ((Alignment)viewport.alignment).featuresAdded = true;\r
\r
alignPanel.repaint();\r
\r
{\r
viewport.showSequenceFeatures(sequenceFeatures.isSelected());\r
\r
- if (viewport.showSequenceFeatures &&\r
+ /* if (viewport.showSequenceFeatures &&\r
! ( (Alignment) viewport.alignment.getDataset()).featuresAdded)\r
{\r
System.out.println("new fetcher");\r
alignment,\r
alignPanel);\r
}\r
-\r
+*/\r
featureSettings.setEnabled(true);\r
\r
alignPanel.repaint();\r
CutAndPasteTransfer output = new CutAndPasteTransfer();\r
StringBuffer sbuffer = new StringBuffer();\r
\r
- Vector getUniprotEntries(File file)\r
+ public SequenceFeatureFetcher()\r
+ {}\r
+\r
+ public Vector getUniprotEntries(File file)\r
{\r
\r
UniprotFile uni = new UniprotFile();\r
}\r
EBIFetchClient ebi = new EBIFetchClient();\r
File file = ebi.fetchDataAsFile(remainingIds.toString(),\r
- "xml", null);\r
+ "xml", "raw");\r
\r
\r
\r
if(reply == javax.swing.JOptionPane.YES_OPTION)\r
new WSWUBlastClient(ap, align, unknownSequences);\r
}\r
- else\r
- ((Alignment)dataset).featuresAdded = true;\r
\r
\r
ap.repaint();\r