From e7ab4295cfd1f16ab080d07f3e52d1aacedc1be3 Mon Sep 17 00:00:00 2001 From: Timon Date: Tue, 17 Feb 2026 08:00:03 +0100 Subject: [PATCH] chore: Comment out return statement in calculate_weed_presence_kpi function for debugging --- r_app/80_utils_agronomic_support.R | 8 ++++---- r_app/MANUAL_PIPELINE_RUNNER.R | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/r_app/80_utils_agronomic_support.R b/r_app/80_utils_agronomic_support.R index 421b35f..ed791d3 100644 --- a/r_app/80_utils_agronomic_support.R +++ b/r_app/80_utils_agronomic_support.R @@ -392,10 +392,10 @@ calculate_weed_presence_kpi <- function(ci_pixels_by_field) { # } # Convert accumulated list to data frame in a single operation - field_results <- do.call(rbind, lapply(results_list, as.data.frame)) - - return(field_results) -} +# field_results <- do.call(rbind, lapply(results_list, as.data.frame)) +# +# return(field_results) +#} # ============================================================================ # KPI ORCHESTRATOR AND REPORTING diff --git a/r_app/MANUAL_PIPELINE_RUNNER.R b/r_app/MANUAL_PIPELINE_RUNNER.R index b2c20db..e8931f9 100644 --- a/r_app/MANUAL_PIPELINE_RUNNER.R +++ b/r_app/MANUAL_PIPELINE_RUNNER.R @@ -449,8 +449,8 @@ rmarkdown::render( # rmarkdown::render( rmarkdown::render( "r_app/91_CI_report_with_kpis_cane_supply.Rmd", - params = list(data_dir = "angata", report_date = as.Date("2026-02-04")), - output_file = "SmartCane_Report_basemap_test.docx", + params = list(data_dir = "angata", report_date = as.Date("2026-02-16")), + output_file = "SmartCane_Report_Angata_2026-02-16.docx", output_dir = "laravel_app/storage/app/angata/reports" ) #