Commit a307c995 authored by Christopher Jan-Steffen Brix's avatar Christopher Jan-Steffen Brix
Browse files

Fix for hashing. Store hash file at correct path

parent 426a6f06
Pipeline #101579 failed with stages
in 3 minutes and 9 seconds
......@@ -201,7 +201,7 @@ public class EMADLGenerator {
byte cnntHash[] = checksum(Paths.get(cnntPath));
// This is not the real path to the training data! Adapt accordingly once sub-task 4 is solved
String componentConfigFilename = componentInstance.getFullName().replaceAll("\\.", "/");
String componentConfigFilename = componentInstance.getComponentType().getReferencedSymbol().getFullName().replaceAll("\\.", "/");
String instanceConfigFilename = componentInstance.getFullName().replaceAll("\\.", "/") + "_" + componentInstance.getName();
byte[] dataHash = checksum(Paths.get(architecture.get().getDataPath()));
......
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