Skip to content

Commit 6049efb

Browse files
committed
update theta flag
1 parent 80661bf commit 6049efb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ app.post('/api/generate', async (req, res) => {
233233

234234
const outXCFA = path.join(tmpDir, `xcfa.dot`);
235235
// Run Theta mapper
236-
const thetaArgs = [cPath, '--output-directory', tmpDir, '--enable-output', "--lbe", "NO_LBE", "--domain", "PRED_CART"];
236+
const thetaArgs = [cPath, '--output-directory', tmpDir, '--enable-xcfa-serialization', "--lbe", "NO_LBE", "--domain", "PRED_CART"];
237237
const thetaRun = await execFileAsync(thetaBin, thetaArgs);
238238
xcfa.code = (thetaRun && typeof thetaRun.code !== 'undefined') ? thetaRun.code : 1;
239239
xcfa.stderr = ((thetaRun && thetaRun.stderr) ? thetaRun.stderr : '') + ((thetaRun && thetaRun.stdout) ? thetaRun.stdout : '');

0 commit comments

Comments
 (0)