Skip to content

Commit

Permalink
Merge pull request kermitt2#1245 from kermitt2/bugfix/fix-e2e-flavor-…
Browse files Browse the repository at this point in the history
…param

Fix flavor parameter
  • Loading branch information
lfoppiano authored Feb 8, 2025
2 parents 3702e4d + ae0c18e commit 1021aba
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2051,8 +2051,7 @@ public static void main(String[] args) {
String flavor = args[4];
parsedFlavor = GrobidModels.Flavor.fromLabel(flavor);
if (parsedFlavor == null) {
System.err.println("Invalid value for flavor: " + flavor + ". Omit or correct the parameter. ");
return;
System.out.println("Flavor was not specified, or was empty. Using default Grobid process. ");
} else {
System.out.println("Setting flavor to: " + parsedFlavor);
}
Expand Down

0 comments on commit 1021aba

Please sign in to comment.