Fix the stale merge_compartments note left behind on 16.4 - #48
Merged
Conversation
8f0430a regenerated this section's output blocks after the submodule bump but left the prose beneath them describing the old behaviour. Two things were wrong. The admonition's header line was deleted while its indented body stayed, so the paragraphs rendered as a code block rather than a note. The text itself no longer matched the output above it. It said "of the 11 reactions it drops above, only 3 are genuine transports" where the example now prints 3, and "until the fix ships" after the fix had shipped: SysBioChalmers/raven-toolbox#96 is merged and is in the tracked commit. Replaced with a note that explains what the two tabs actually show -- both end at 50 reactions, RAVEN reporting 0 removals and raven-toolbox 3, because RAVEN's deletedRxns counts only the deleteRxnsWithOneMet path, which is off by default. The exchange-deletion bug is recorded in the past tense, with the PR that fixed it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found while pulling after #46 — this is exactly the drift
#41 warns about, already live
on
main.8f0430aregenerated 16.4's output blocks after the submodule bump, but theprose beneath them still described the old behaviour. Two problems:
1. It rendered as a code block. The
!!! dangerheader line was removed andits indented body left behind, so three paragraphs of prose showed up as
preformatted text.
2. It contradicted the output directly above it. The text said "of the 11
reactions it drops above, only 3 are genuine transports" — the example now prints
3 — and "until the fix ships", when
raven-toolbox#96 is
merged and present in the tracked commit
173131d1. A reader would have beentold the Python tab was broken while looking at output showing it is not.
What it says now
A note explaining what the two tabs really show: both end at 50 reactions,
but RAVEN reports 0 removals and raven-toolbox 3 (
CAT2,CO2TRANS,ShuttleX). Same three reactions either way — RAVEN clears them when it removesreactions the merge left empty, and its
deletedRxnscounts only what thedeleteRxnsWithOneMetpath deleted, which is nothing while that flag isfalseby default. The exchange-deletion bug is recorded in the past tense with the PR
that fixed it.
Verified: the built page now renders an admonition rather than a code block, and
check_names.pyis clean (deletedRxnsallow-listed as a variable).Worth noting for #41
The examples themselves were fine — CI has been green because
--updatealreadycorrected the numbers. It is the surrounding prose that went stale, which nothing
checks. That is the part of the regeneration that needs a person, and this is a
concrete instance of it.