*/
mutatorLong = HFactory.createMutator(ksp, ls);
- if (source.equals("http")) {
+ if (true) {
+ //if (source.equals("http")) {
// get data from real Jpred production server
System.out.println("Parsing web data source......");
String datasrc = "http://www.compbio.dundee.ac.uk/www-jpred/results/usage-new/alljobs.dat";
JpredParserHTTP parser = new JpredParserHTTP(prefix);
parser.Parsing(datasrc, 4);
flushData();
- } else if (source.equals("file")) {
+ }
+ if (true) {
+ //if (source.equals("file")) {
// get irtifical data generated for the DB stress tests
System.out.println("Parsing local file data source......");
String datasrc = "/home/asherstnev/Projects/Java.projects/proteocache/data_stress_test/data.dat";
String prefix = "/home/asherstnev/Projects/Java.projects/proteocache/data_stress_test/Jpreddata";
JpredParserLocalFile parser = new JpredParserLocalFile(prefix);
- parser.Parsing(datasrc, 365);
+ parser.Parsing(datasrc, 190);
flushData();
- } else {
- System.out.println("Unknown data source......");
}
}