From 00b6fc0ef1fb775e5b191fea7684efaef69543f5 Mon Sep 17 00:00:00 2001 From: Jeffrey Larson Date: Wed, 17 Sep 2025 10:15:05 -0500 Subject: [PATCH 1/3] Black --- libensemble/tests/functionality_tests/check_libE_stats.py | 2 +- .../tests/regression_tests/test_persistent_gp_multitask_ax.py | 2 +- libensemble/tests/unit_tests_logger/test_logger.py | 2 +- scripts/plot_libe_calcs_util_v_time.py | 2 +- scripts/plot_libe_histogram.py | 2 +- scripts/plot_libe_tasks_util_v_time.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libensemble/tests/functionality_tests/check_libE_stats.py b/libensemble/tests/functionality_tests/check_libE_stats.py index 424c07d8b1..304925dc1e 100644 --- a/libensemble/tests/functionality_tests/check_libE_stats.py +++ b/libensemble/tests/functionality_tests/check_libE_stats.py @@ -1,4 +1,4 @@ -""" Script to check format of libE_stats.txt +"""Script to check format of libE_stats.txt Checks matching start and end times existing for calculation and tasks if required. Checks that dates/times are in a valid format. diff --git a/libensemble/tests/regression_tests/test_persistent_gp_multitask_ax.py b/libensemble/tests/regression_tests/test_persistent_gp_multitask_ax.py index 8c589161ad..990493a176 100644 --- a/libensemble/tests/regression_tests/test_persistent_gp_multitask_ax.py +++ b/libensemble/tests/regression_tests/test_persistent_gp_multitask_ax.py @@ -50,7 +50,7 @@ def run_simulation(H, persis_info, sim_specs, libE_info): z = 8 elif task == "cheap_model": z = 1 - print('in sim', task) + print("in sim", task) libE_output = np.zeros(1, dtype=sim_specs["out"]) calc_status = WORKER_DONE diff --git a/libensemble/tests/unit_tests_logger/test_logger.py b/libensemble/tests/unit_tests_logger/test_logger.py index e06331b3d2..fdf13725f9 100644 --- a/libensemble/tests/unit_tests_logger/test_logger.py +++ b/libensemble/tests/unit_tests_logger/test_logger.py @@ -124,7 +124,7 @@ def test_custom_log_levels(): logger_test.manager_warning("This manager_warning message should log") logger_test.vdebug("This vdebug message should log") - with open(LogConfig.config.filename, 'r') as f: + with open(LogConfig.config.filename, "r") as f: file_content = f.read() assert "This manager_warning message should log" in file_content assert "This vdebug message should log" in file_content diff --git a/scripts/plot_libe_calcs_util_v_time.py b/scripts/plot_libe_calcs_util_v_time.py index 9f9f22edda..fc6750a10d 100755 --- a/scripts/plot_libe_calcs_util_v_time.py +++ b/scripts/plot_libe_calcs_util_v_time.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -""" User function utilization plot +"""User function utilization plot Script to produce utilization plot based on how many workers are running user functions (sim or gens) at any given time. The plot is written to a file. diff --git a/scripts/plot_libe_histogram.py b/scripts/plot_libe_histogram.py index e5145bc05d..9365571404 100755 --- a/scripts/plot_libe_histogram.py +++ b/scripts/plot_libe_histogram.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -""" Histogram of user function run-times (completed & killed). +"""Histogram of user function run-times (completed & killed). Script to produce a histogram plot giving a count of user function (sim or gen) calls by run-time intervals. Color shows completed versus killed versus diff --git a/scripts/plot_libe_tasks_util_v_time.py b/scripts/plot_libe_tasks_util_v_time.py index ece34bdafb..cb5ced7236 100644 --- a/scripts/plot_libe_tasks_util_v_time.py +++ b/scripts/plot_libe_tasks_util_v_time.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -""" User tasks utilization plot +"""User tasks utilization plot Script to produce utilisation plot based on how many workers are running user tasks (submitted via a libEnsemble executor) at any given time. This does not From 63c082aa912368c059090c1a2505cd21baf2f993 Mon Sep 17 00:00:00 2001 From: Jeffrey Larson Date: Wed, 17 Sep 2025 11:15:29 -0500 Subject: [PATCH 2/3] Updated IBCDFO branch --- install/install_ibcdfo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/install_ibcdfo.sh b/install/install_ibcdfo.sh index efd5f6dcb5..4a55fb1436 100644 --- a/install/install_ibcdfo.sh +++ b/install/install_ibcdfo.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -git clone --recurse-submodules -b develop https://github.com/POptUS/IBCDFO.git +git clone --recurse-submodules -b updates_manifold_sampling https://github.com/POptUS/IBCDFO.git pushd IBCDFO/minq/py/minq5/ export PYTHONPATH="$PYTHONPATH:$(pwd)" echo "PYTHONPATH=$PYTHONPATH" >> $GITHUB_ENV From 5d0ae3d7a2ad70fd5d2f262ab1054fde5d96673d Mon Sep 17 00:00:00 2001 From: Jeffrey Larson Date: Wed, 17 Sep 2025 11:16:00 -0500 Subject: [PATCH 3/3] reverting --- install/install_ibcdfo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/install_ibcdfo.sh b/install/install_ibcdfo.sh index 4a55fb1436..efd5f6dcb5 100644 --- a/install/install_ibcdfo.sh +++ b/install/install_ibcdfo.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -git clone --recurse-submodules -b updates_manifold_sampling https://github.com/POptUS/IBCDFO.git +git clone --recurse-submodules -b develop https://github.com/POptUS/IBCDFO.git pushd IBCDFO/minq/py/minq5/ export PYTHONPATH="$PYTHONPATH:$(pwd)" echo "PYTHONPATH=$PYTHONPATH" >> $GITHUB_ENV