import java.io.IOException;\r
import java.io.InputStream;\r
import java.util.Arrays;\r
-import java.util.HashMap;\r
+import java.util.HashSet;\r
import java.util.List;\r
\r
import org.apache.log4j.Logger;\r
\r
-import compbio.conservation.Method;\r
+import compbio.data.sequence.Score;\r
+import compbio.data.sequence.SequenceUtil;\r
import compbio.engine.client.CommandBuilder;\r
import compbio.engine.client.Executable;\r
import compbio.engine.client.SkeletalExecutable;\r
}\r
// HashMap<Method, float[]>\r
@Override\r
- public HashMap<Method, float[]> getResults(String workDirectory)\r
+ public HashSet<Score> getResults(String workDirectory)\r
throws ResultNotAvailableException {\r
- // MultiAnnotatedSequence<Method> annotations = null;\r
+ HashSet<Score> annotations = null;\r
try {\r
InputStream inStream = new FileInputStream(new File(workDirectory,\r
getOutput()));\r
- // annotations = SequenceUtil.readResults(inStream);\r
+ annotations = SequenceUtil.readAAConResults(inStream);\r
inStream.close();\r
} catch (FileNotFoundException e) {\r
log.error(e.getMessage(), e.getCause());\r
log.error(e.getMessage(), e.getCause());\r
throw new ResultNotAvailableException(e);\r
}\r
- return null;\r
+ return annotations;\r
}\r
\r
private static String getLibPath() {\r