Webservice which implements FoldWS and returns String. Parameters.xml file
[jabaws.git] / runner / compbio / runner / structure / RNAalifold.java
index 3871ea9..52a784c 100644 (file)
@@ -6,10 +6,7 @@ import java.io.IOException;
 import java.util.Arrays;
 import java.util.List;
 
-//imports for filereader method
-import java.io.FileReader;
-import java.io.BufferedReader;
-import java.io.File;
+
 
 
 
@@ -61,11 +58,10 @@ public class RNAalifold extends SkeletalExecutable<RNAalifold>
        @SuppressWarnings("unchecked")
        @Override
        // PlaceHolder method
-       public RNAstruct getResults(String workDirectory)
+       public String getResults(String workDirectory)
                        throws ResultNotAvailableException {
                try {
-                       // System.out.println("Specialread " + Util.readRNAStructFile(workDirectory, getOutput()).toString());
-                       return Util.readRNAStructFile(workDirectory, getOutput());
+                       return Util.readRNAStruct(workDirectory, getOutput());
                        
                } catch (FileNotFoundException e) {
                        log.error(e.getMessage(), e.getCause());