Skip to content
Snippets Groups Projects
Unverified Commit c4d1a956 authored by 翔驰 周's avatar 翔驰 周
Browse files

update:backend

parent fbd488d7
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -22,7 +22,7 @@
<artifactId>sentistrength_backend</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/sentiStrength-v1.0.24.jar</systemPath>
<systemPath>${project.basedir}/lib/sentiStrength-v1.0.25.jar</systemPath>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
......
......@@ -83,10 +83,12 @@ public class DataMiningServiceImpl implements DataMiningService {
if (inFile.size() == 0) {
throw new MyServiceException("DS001", "Arff文件为空");
}
try {
outFile = uk.ac.wlv.wkaclass.Arff.deleteColumnFromArff(inFile, removeDataColumnVO.getColToRemove());
if (outFile == null) {
throw new MyServiceException("DS004", "Arff文件删除出错");
}catch (Exception e){
throw new MyServiceException("DS004", "Arff文件某一列删除出错");
}
return outFile;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment