From 418add695f2c4053425afbfbd9f2b228f30af8dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20D=2E=20Ot=C3=A1lvaro?= Date: Thu, 27 Aug 2026 14:37:38 +0100 Subject: [PATCH] Skip result JSON output --- src/estimation/nonparametric/result.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/estimation/nonparametric/result.rs b/src/estimation/nonparametric/result.rs index a0fc9f3f1..7af6ca340 100644 --- a/src/estimation/nonparametric/result.rs +++ b/src/estimation/nonparametric/result.rs @@ -374,11 +374,10 @@ impl NonParametricResult { /// - `pred.csv` — population and posterior predictions /// - `covs.csv` — interpolated covariates /// - `cycles.csv` — cycle log - /// - `result.json` — the complete result as JSON /// - /// The posterior and predictions are computed once and shared across the CSV - /// and JSON outputs. `idelta` and `tad` control the density of the - /// predictions (see [`predictions`](Self::predictions)). + /// Use [`write_json`](Self::write_json) to explicitly write the complete result. + /// `idelta` and `tad` control the density of the predictions (see + /// [`predictions`](Self::predictions)). pub fn write_outputs( &self, directory: impl AsRef, @@ -397,7 +396,6 @@ impl NonParametricResult { predictions.write(&dir.join("pred.csv"))?; self.write_covariates(&dir.join("covs.csv"))?; self.write_cycles(&dir.join("cycles.csv"))?; - self.write_json_with(&dir.join("result.json"), &posterior, &predictions)?; tracing::info!("Results written to {}", dir.display()); Ok(())