Skip to content

remove: followFluxes, dead code fully subsumed by printFluxes + followChanged - #725

Merged
edkerk merged 1 commit into
develop3from
remove/follow-fluxes-dead-code
Sep 4, 2026
Merged

remove: followFluxes, dead code fully subsumed by printFluxes + followChanged#725
edkerk merged 1 commit into
develop3from
remove/follow-fluxes-dead-code

Conversation

@edkerk

@edkerk edkerk commented Sep 3, 2026

Copy link
Copy Markdown
Member

Summary

Found while auditing raven_toolbox port-gap issues (SysBioChalmers/raven-gecko-parity#46): followFluxes prints reactions whose flux falls in a range, optionally alongside a second reference flux vector. Nothing it does is missing from RAVEN's own other functions:

  • Its range/cutoff filtering is a strict subset of printFluxes's cutOffFlux argument.
  • Its optional single-reference-flux comparison is a strict subset of followChanged's comparison (which additionally supports percent-change, absolute-value, and difference cutoffs, plus metabolite-based subsetting).

Removed the function and its one test reference (tAnalysis.m's followFluxesRuns, a smoke test). Confirmed no other RAVEN source or test file references it.

Test plan

  • tAnalysis test class: 23/25 passed. The 2 failures (getMinimalMediumReturnsMedium, getMinimalMediumExplicitGrowth) are unrelated to this change — different function entirely, and this diff touches only followFluxes.m (deleted) and one unrelated test function's removal from tAnalysis.m.

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

Function test results

304 tests   277 ✅  1m 18s ⏱️
 25 suites   27 💤
  1 files      0 ❌

Results for commit 2f6977e.

@edkerk
edkerk merged commit 5211623 into develop3 Sep 4, 2026
4 checks passed
@edkerk
edkerk deleted the remove/follow-fluxes-dead-code branch September 4, 2026 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant