Commit 3d526365 authored by jcorvi's avatar jcorvi
Browse files

error reading parameter

parent 9356167a
......@@ -77,8 +77,7 @@ public class App {
formatter.printHelp("utility-name", options);
System.exit(1);
}
String inputFilePath = cmd.getOptionValue("input");
String inputFilePath = cmd.getOptionValue("input");
String outputFilePath = cmd.getOptionValue("output");
String workdirPath = cmd.getOptionValue("workdir");
String annotationSet = cmd.getOptionValue("annotation_set");
......@@ -131,7 +130,7 @@ public class App {
System.out.println("Error unziping directory, please if you provided a zip file remember that it must contain a list.def file inside. ");
System.exit(1);
}
}else if(listsDefinitionsPath.endsWith(".def")) {
}else if(!listsDefinitionsPath.endsWith(".def")) {
System.out.println(" Please set the list of dictionaries to annotate. No list.def file or .zip file provided.");
System.exit(1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment