From 2127ed700087b2d2dad7bf287ada7337ae5d70c7 Mon Sep 17 00:00:00 2001 From: Olaf Mersmann Date: Fri, 17 Nov 2023 12:13:38 +0100 Subject: [PATCH] [build] Replace mention of do.py in postprocessing code --- code-postprocessing/aRTAplots/generate_aRTA_plot.py | 5 ++--- code-postprocessing/cocopp/test.py | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/code-postprocessing/aRTAplots/generate_aRTA_plot.py b/code-postprocessing/aRTAplots/generate_aRTA_plot.py index 6bad8058d..039a63e8d 100644 --- a/code-postprocessing/aRTAplots/generate_aRTA_plot.py +++ b/code-postprocessing/aRTAplots/generate_aRTA_plot.py @@ -13,8 +13,7 @@ a grid of `n \times n` points in objective space are provided. Prerequisite: the cocopp module of the COCO platform needs to be installed. - Run therefore `python do.py install-postprocessing` once in the root folder - of the github project before. + Run 'pip install cocopp' to install the latest version from PyPI. based on code by Thanh-Do Tran 2012--2015 adapted by Dimo Brockhoff 2016 @@ -564,4 +563,4 @@ def DEPRECATED_sample_down(B, decimals): t0 = time.time() import doctest doctest.testmod() - print('** doctest finished in ', time.time() - t0, ' seconds') \ No newline at end of file + print('** doctest finished in ', time.time() - t0, ' seconds') diff --git a/code-postprocessing/cocopp/test.py b/code-postprocessing/cocopp/test.py index 84cc99659..0d2e7900e 100644 --- a/code-postprocessing/cocopp/test.py +++ b/code-postprocessing/cocopp/test.py @@ -366,7 +366,7 @@ def main(arguments): assert result == 0, 'Test failed: rungeneric on two bbob-noisy algorithms.' #run_latex_template("templateNOISYarticle.tex", run_all_tests) - # testing data from recent runs, prepared in do.py: + # testing data from recent runs: recent_data_path = os.path.abspath(join_path(os.path.dirname(__file__), '../../code-experiments/build/python/exdata')) with InfolderGoneWithTheWind():