Hi experts
I want to read one column of my csv file and find motifs. To do this I am using OpenSCV to read the file, and save the numbers in an array(here, I am reading 1000 values from 28th column):
String strfile="C:\\Mypath\\xxx.csv";
CSVReader reader=new CSVReader(new FileReader(strfile));
String[] nextline;
int linenumber=0;
double[] numbers=new double[1001];
double[] times=new double[1001];
ArrayList<Double> list = new ArrayList<Double>();
for(int i=0;i<=1000;i++)
{
nextline = reader.readNext();
numbers[i]= Double.parseDouble(nextline[28]);
times[i]=i;
}
and then:
DiscordsAndMotifs dr= edu.hawaii.jmotif.sax.SAXFactory.series2DiscordsAndMotifs(numbers, 10, 4, 2, 2,null); // I get the error is this line
System.out.println(dr.toString());
The error is:
Exception in thread "main" java.lang.NoSuchMethodError: org.hackystat.utilities.logger.HackystatLogger.getLogger(Ljava/lang/String;Ljava/lang/String;)Ljava/util/logging/Logger;
at edu.hawaii.jmotif.sax.SAXFactory.<clinit>(SAXFactory.java:51)
at motif.discovery.MotifDiscovery.main(MotifDiscovery.java:58)
I have jmotif.lib-0.97.jar and hackystatlogger.lib.jar and jmotif-isax.lib.jar in my library. I dont know really what caused this problem.
could you please help me to solve this problem?