mkirsche / Iris

A module for improving the insertion sequences of structural variant calls
MIT License
29 stars 5 forks source link

I have a problem for run ./build.sh #8

Open K-zhangfengwei opened 3 years ago

K-zhangfengwei commented 3 years ago

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

Yechao94 commented 2 years ago

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")