Iris icon indicating copy to clipboard operation
Iris copied to clipboard

I have a problem for run ./build.sh

Open K-zhangfengwei opened this issue 4 years ago • 1 comments

I want to install the Iris. When i ran the command "./build.1.sh", an error occurs.

Note: /home/software/Iris-master/src/EvaluateSimulatedAccuracy.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

and i add the command "-Xlint:unchecked " , results are as follows. What should I do with it. /home/software/Iris-master/src/EvaluateSimulatedAccuracy.java:297: warning: [unchecked] unchecked conversion ArrayList<Double>[] toPrint = new ArrayList[]{shortSeqId, mediumSeqId, largeSeqId}; ^ required: ArrayList<Double>[] found: ArrayList[] 1 warning

My javac version is 1.8.0_152-release

K-zhangfengwei avatar Nov 18 '21 08:11 K-zhangfengwei

I got the same problem when ran the command.

And I solved this error by adding the following code to the file src/EvaluateSimulatedAccuracy.java

@SuppressWarnings("unchecked") 

Yechao94 avatar Dec 16 '21 02:12 Yechao94