Skip to content

remove: exportToTabDelimited, dead fallback in exportToExcelFormat - #727

Merged
edkerk merged 2 commits into
develop3from
remove/export-to-tab-delimited
Sep 4, 2026
Merged

remove: exportToTabDelimited, dead fallback in exportToExcelFormat#727
edkerk merged 2 commits into
develop3from
remove/export-to-tab-delimited

Conversation

@edkerk

@edkerk edkerk commented Sep 4, 2026

Copy link
Copy Markdown
Member

Summary

Found while auditing raven_toolbox port-gap issues (SysBioChalmers/raven-gecko-parity#55): exportToTabDelimited had exactly one call site, exportToExcelFormat's bare-path fallback (if ~any(A) || ~any(B), when fileName had no name/extension parts). That fallback silently switches output format depending on whether fileName looks like a path — directly contradicting exportToExcelFormat's own error message for every other input ("As of RAVEN version 1.9, only export to xlsx format is supported").

Removed:

  • io/exportToTabDelimited.m.
  • The bare-path fallback branch in io/exportToExcelFormat.m (now always writes .xlsx, or errors with the existing "only xlsx format is supported" message — the behaviour the docstring already claimed).
  • Its one test, tIO/exportToTabDelimitedWritesFiles.

Documented in docs/v3_review.md's "Already done in develop3" list, alongside the earlier followFluxes removal (#725), which had been merged but not yet recorded there.

Test plan

  • tIO test class: 17/17 passed, including exportToExcelFormatWritesFile and exportToExcelFormatWritesEcSheets (unaffected by the fallback removal).
  • Confirmed no other .m file references exportToTabDelimited (only generated doc/*.html, not hand-maintained).

Found while auditing raven_toolbox port-gap issues
(SysBioChalmers/raven-gecko-parity#55): exportToTabDelimited was reachable
only from exportToExcelFormat's bare-path fallback, which silently switched
output format depending on whether fileName looked like a path -- directly
contradicting exportToExcelFormat's own error message ("only xlsx format is
supported" as of RAVEN 1.9) for every other input.

Removed the function, its one call site, and its test. Documented in
docs/v3_review.md alongside the earlier followFluxes removal
(#725).
edkerk added a commit to SysBioChalmers/raven-gecko-parity that referenced this pull request Sep 4, 2026
SysBioChalmers/RAVEN#727 removes exportToTabDelimited and the dead
exportToExcelFormat fallback that called it (not yet merged). Marked
subsumed rather than python-pending in the meantime; the row will be
deleted outright once that PR lands, the same treatment followFluxes got.
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

Function test results

305 tests   278 ✅  1m 21s ⏱️
 25 suites   27 💤
  1 files      0 ❌

Results for commit 619df18.

@edkerk
edkerk merged commit 11ec71c into develop3 Sep 4, 2026
4 checks passed
@edkerk
edkerk deleted the remove/export-to-tab-delimited branch September 4, 2026 19:16
edkerk added a commit to SysBioChalmers/raven-gecko-parity that referenced this pull request Sep 4, 2026
SysBioChalmers/RAVEN#727 merged. Remove the now-stale row entirely (the
function no longer exists in MATLAB either) and update
exportToExcelFormat's notes to describe the fallback removal as done
rather than pending.
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