From 2b55fa71eb3821c024d25ac3719d4f5ff26de20c Mon Sep 17 00:00:00 2001 From: Julian Dolby Date: Sun, 14 Apr 2024 10:01:50 -0400 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5f2dbb5..b809cc3 100644 --- a/README.md +++ b/README.md @@ -88,12 +88,12 @@ Fetch these jars from [https://archive.org/download/graph4code_prereq_jars/graph #### Example - java -DoutputDir= -cp ./code_breaker_prereq_py3/target/CodeBreakerPrereqPy3-0.0.1-SNAPSHOT.jar util.RunTurtleSingleAnalysis null null` to run on a Python 3 file, with an output of the graph on JSON. + java -DoutputDir= -cp ../code_breaker_prereq_py3/target/CodeBreakerPrereqPy3-0.0.1-SNAPSHOT.jar util.RunTurtleSingleAnalysis null null` to run on a Python 3 file, with an output of the graph on JSON. So to run on an example script provided from the `main` directory, use ``` mkdir -p ./output/static_analysis/ - java -DoutputDir=./output/static_analysis/ -cp jars/codebreaker3.jar util.RunTurtleSingleAnalysis ./example_scripts/test1.py null null + java -DoutputDir=./output/static_analysis/ -cp ../code_breaker_prereq_py3/target/CodeBreakerPrereqPy3-0.0.1-SNAPSHOT.jar util.RunTurtleSingleAnalysis ./example_scripts/test1.py null null ``` ./output/static_analysis should have a JSON file and an NQ file for the same information. Please note that as the project has moved on to different applications, we have focused more on the JSON representation which is up to date. The NQ is less what we use and test - so it may be out of date.