@SuppressWarnings("unchecked")
public void parse() throws FileNotFoundException, ExceptionPermissionDenied, ExceptionLoadingFailed, ExceptionFileFormatOrSyntax
{
- FileReader fr = null;
- fr = new FileReader(inFile);
-
- BufferedReader r = new BufferedReader (fr);
-
- //ArrayList<String> seq =new ArrayList();
- //System.out.println(r);
-
-
- result = RNAFactory.loadSecStrRNAML(r);
+ result = RNAFactory.loadSecStrRNAML(getReader());
System.out.println("this is the secondary scructure:" +result.size());
//System.out.println("this is the secondary scructure:" +result.toString());