package compbio.ws.server;\r
\r
-import java.util.HashMap;\r
-import java.util.HashSet;\r
import java.util.List;\r
\r
import javax.annotation.Resource;\r
\r
import compbio.data.msa.SequenceAnnotation;\r
import compbio.data.sequence.FastaSequence;\r
-import compbio.data.sequence.Score;\r
+import compbio.data.sequence.ScoreManager;\r
import compbio.engine.AsyncExecutor;\r
import compbio.engine.Configurator;\r
import compbio.engine.client.ConfiguredExecutable;\r
}\r
\r
@Override\r
- public HashMap<String, HashSet<Score>> getAnnotation(String jobId)\r
+ public ScoreManager getAnnotation(String jobId)\r
throws ResultNotAvailableException {\r
WSUtil.validateJobId(jobId);\r
AsyncExecutor asyncEngine = Configurator.getAsyncEngine(jobId);\r
ConfiguredExecutable<GlobPlot> globPlot = (ConfiguredExecutable<GlobPlot>) asyncEngine\r
.getResults(jobId);\r
- HashMap<String, HashSet<Score>> mas = globPlot.getResults();\r
+ ScoreManager mas = globPlot.getResults();\r
log.trace(jobId + " getConservation : " + mas);\r
return mas;\r
}\r