From c18a265f6bfcafa9b0e707ad24ec4b203bf0830f Mon Sep 17 00:00:00 2001 From: Bill Hlavacek Date: Wed, 16 Sep 2026 12:32:00 -0600 Subject: [PATCH] chore: ignore a fit's run log wherever it was launched from .gitignore covered bnf_*.log under examples/ and one level under benchmarks/, which is where a stray run log had been noticed, but not the repository root. A fit launched from the root leaves bnf_.log there and it shows up as an untracked file, as two did while measuring #696. One rule for every directory replaces the two location-specific ones rather than adding a third. These are runtime logs: none has ever been committed, and nothing currently tracked matches the broader pattern. --- .gitignore | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 729a0b70..295f37aa 100644 --- a/.gitignore +++ b/.gitignore @@ -34,12 +34,13 @@ tests/sim_1_rerun1/ tests/full_tests/*/fit/ tests/full_tests/*.log -# PyBNF run logs written into an example/tutorial dir (a fit launched from inside it) -examples/**/bnf_*.log +# PyBNF run logs, wherever a fit was launched from: an example or tutorial directory, +# a benchmark directory, or the repository root. One rule rather than one per place, +# since these are runtime logs and none has ever been committed. +bnf_*.log # Benchmark run artifacts benchmarks/*/runs/ -benchmarks/*/bnf_*.log examples/sampler_benchmarking/*/output_*/ examples/sampler_benchmarking/*/*.out examples/sampler_benchmarking/*/*.err