diff options
author | LuckyTurtleDev | 2022-11-20 15:08:14 +0100 |
---|---|---|
committer | LuckyTurtleDev | 2022-11-20 15:08:14 +0100 |
commit | c5d8f635dba539c72b90d80eec6638ea84c8301b (patch) | |
tree | 176be8778665f4d4333a65790d32f06864508ba1 /remove_genetic_algorithm_pipeline.patch | |
download | aur-c5d8f635dba539c72b90d80eec6638ea84c8301b.tar.gz |
init
Diffstat (limited to 'remove_genetic_algorithm_pipeline.patch')
-rw-r--r-- | remove_genetic_algorithm_pipeline.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/remove_genetic_algorithm_pipeline.patch b/remove_genetic_algorithm_pipeline.patch new file mode 100644 index 000000000000..95cd794c2bfb --- /dev/null +++ b/remove_genetic_algorithm_pipeline.patch @@ -0,0 +1,22 @@ +diff --git a/main.py b/main_new.py +index 8a96808..5492280 100644 +--- a/main.py ++++ b/main_new.py +@@ -5,7 +5,6 @@ import sys + + import helper + import sketch_pipeline +-import genetic_algorithm_pipeline + + # Parse input arguments. + parser = argparse.ArgumentParser() +@@ -46,8 +45,7 @@ if __name__ == '__main__': + sketch_pipeline.SetupSketchPipeline(args) + sketch_pipeline.RunSketchPipeline() + elif args.method == 'genetic': +- genetic_algorithm_pipeline.SetupGeneticAlgorithmPipeline(args) +- genetic_algorithm_pipeline.RunGeneticAlgorithmPipeline() ++ raise NotImplementedError('genetic_algorithm not supported!') + else: + helper.PrintWithRedColor('Invalid method: %s' % method) + sys.exit(-1) |