Commit 3f014456 authored by danielkisov's avatar danielkisov
Browse files

Update CustomPythonLayerDeclaration.java

parent 80615cef
Pipeline #472128 passed with stage
in 10 minutes and 26 seconds
......@@ -232,11 +232,11 @@ public class CustomPythonLayerDeclaration extends CustomLayerDeclaration{
String com = "";
String callingPrintMethod = "import " + this.getName() + "; temp=" + this.getName() + "." + this.getName() + "(); temp.compute_output_types(" + parametersOfLayer + computeOutputPython + ")";
if (SystemUtils.IS_OS_WINDOWS == false) {
printOutputDimensions = "python -c '" + callingPrintMethod + "'";
printOutputDimensions = this.pythonPath + " -c '" + callingPrintMethod + "'";
terminal = "/bin/bash";
com = "-c";
} else {
printOutputDimensions = "python -c \"" + callingPrintMethod + "\"";
printOutputDimensions = this.pythonPath + " -c \"" + callingPrintMethod + "\"";
terminal = "cmd.exe";
com = "/c";
}
......
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