Skip to content

Commit

Permalink
Update ReadAndSaveModels.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Sn0w3y authored Dec 6, 2024
1 parent f3f5f42 commit 2504de3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static void save(HyperParameters hyperParameters) {
String modelName = hyperParameters.getModelName();
String directoryPath = Paths.get(MODEL_DIRECTORY, MODEL_FOLDER) //

Check warning on line 47 in io.openems.edge.predictor.lstm/src/io/openems/edge/predictor/lstm/common/ReadAndSaveModels.java

View check run for this annotation

Codecov / codecov/patch

io.openems.edge.predictor.lstm/src/io/openems/edge/predictor/lstm/common/ReadAndSaveModels.java#L47

Added line #L47 was not covered by tests
.toString();
String filePath = Paths.get(directoryPath, modelName) //
String filePath = Paths.get(directoryPath, modelName)//
.toString();

Check warning on line 50 in io.openems.edge.predictor.lstm/src/io/openems/edge/predictor/lstm/common/ReadAndSaveModels.java

View check run for this annotation

Codecov / codecov/patch

io.openems.edge.predictor.lstm/src/io/openems/edge/predictor/lstm/common/ReadAndSaveModels.java#L49-L50

Added lines #L49 - L50 were not covered by tests

// Ensure the directory exists
Expand Down

0 comments on commit 2504de3

Please sign in to comment.