For Autoanalyser Python code adding \ at the end of line for print statement

This commit is contained in:
Joseph Lizier 2023-08-15 16:28:04 +10:00
parent f643632df4
commit 817abd1de0
1 changed files with 1 additions and 1 deletions

View File

@ -1240,7 +1240,7 @@ public abstract class AutoAnalyser extends JFrame
extraFormatTerms + "result" + statSigFormatTerms + ");\n");
// 2. Python
pythonCode.append("\n" + pythonPrefix + "print(\"" + resultsPrefixString +
"%.4f " + units + resultsSuffixString + "\" %\n " + pythonPrefix + "(" +
"%.4f " + units + resultsSuffixString + "\" %\\\n " + pythonPrefix + "(" +
extraFormatTerms + "result" + statSigFormatTerms + "))\n");
// 3. Matlab
matlabCode.append("\n" + matlabPrefix + "fprintf('" + resultsPrefixString +