Skip to content

Commit

Permalink
bug: add \n at end of train and infer command for proper parsing from…
Browse files Browse the repository at this point in the history
… c++
  • Loading branch information
Tanguy Soto committed Mar 25, 2021
1 parent 9bd3ffa commit a1735e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ private void sendMochiLearnCommand() {
lastDataSetTimestamp = timestamp;
String subCommand = mode.equals(OrbitAIConf.INFERENCE_MODE) ? INFER_CMD : TRAIN_CMD;

String command = String.format("%s %d %.2f %.2f %.2f %.2f %.2f %.2f %d", subCommand, label,
String command = String.format("%s %d %.2f %.2f %.2f %.2f %.2f %.2f %d\n", subCommand, label,
PDf[1], PDf[2], PDf[3], PDf[4], PDf[5], PDf[6], timestamp);

sendMochiCommand(command);
Expand Down

0 comments on commit a1735e4

Please sign in to comment.