From babe3d394a600494c1db4e7daf40e39afd76da75 Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Mon, 27 Jun 2022 22:07:56 +0200 Subject: WIP native implementation --- playground/generate-output.sh | 9 --------- playground/generate.sh | 7 +++++++ playground/native-calculate.sh | 8 -------- 3 files changed, 7 insertions(+), 17 deletions(-) delete mode 100755 playground/generate-output.sh create mode 100755 playground/generate.sh delete mode 100755 playground/native-calculate.sh (limited to 'playground') diff --git a/playground/generate-output.sh b/playground/generate-output.sh deleted file mode 100755 index 4e16a64..0000000 --- a/playground/generate-output.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -. $(dirname -- "$0")/env.sh - -exec $PYTHON -m opcut generate-output \ - --output-type pdf \ - < $RUN_PATH/result.json \ - > $RUN_PATH/output.pdf \ - diff --git a/playground/generate.sh b/playground/generate.sh new file mode 100755 index 0000000..11f85f3 --- /dev/null +++ b/playground/generate.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +. $(dirname -- "$0")/env.sh + +exec $PYTHON -m opcut generate \ + < $RUN_PATH/result.json \ + > $RUN_PATH/output.pdf \ diff --git a/playground/native-calculate.sh b/playground/native-calculate.sh deleted file mode 100755 index d47035e..0000000 --- a/playground/native-calculate.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -. $(dirname -- "$0")/env.sh - -exec $ROOT_PATH/src_py/opcut/bin/linux-opcut-calculate \ - --method greedy \ - --output result.json \ - params.json -- cgit v1.2.3-70-g09d2