Skip to content

annotation: split deltaGCSV into loadDeltaGCSV / saveDeltaGCSV - #719

Merged
edkerk merged 1 commit into
develop3from
fix/deltagcsv-split
Aug 31, 2026
Merged

annotation: split deltaGCSV into loadDeltaGCSV / saveDeltaGCSV#719
edkerk merged 1 commit into
develop3from
fix/deltagcsv-split

Conversation

@edkerk

@edkerk edkerk commented Aug 31, 2026

Copy link
Copy Markdown
Member

Summary

  • Replaces deltaGCSV(model, direction, ...) with two functions, loadDeltaGCSV and saveDeltaGCSV, matching raven_toolbox.annotation.load_delta_g_csv / save_delta_g_csv one-for-one instead of bundling both directions behind a direction string. Fixes raven-gecko-parity#67.
  • Drops the missingValue sentinel-filtering argument added in Add an optional missingValue argument to deltaGCSV #702/Default deltaGCSV missingValue to the yeast-GEM sentinel for parity #705. Every matched CSV value, including yeast-GEM's "no measurement" placeholder (10000000.0), is now always recorded literally on both languages, so there's no default left to drift out of sync (that drift is what caused raven-gecko-parity#16 the first time).
  • Updates the only call site in this repo, tAnnotation.m.

Generated HTML docs under doc/ are not regenerated here (updateDocumentation() needs MATLAB) — needs a doc rebuild before/after merge.

Test plan

  • Run tAnnotation (deltaGCsvRoundTrip, loadDeltaGCsvStoresValuesLiterally) in MATLAB
  • Rebuild HTML docs with updateDocumentation()

…sentinel filtering

Fixes raven-gecko-parity#67. deltaGCSV(model, direction, ...) is replaced
by two functions, matching raven_toolbox.annotation.load_delta_g_csv /
save_delta_g_csv one-for-one instead of bundling both directions behind a
direction string. No backward-compatible wrapper is kept -- the only call
site in this repo (tAnnotation.m) is updated.

loadDeltaGCSV also drops the missingValue argument deltaGCSV gained in
#702/#705: rather than re-aligning defaults (which is what regressed
raven-gecko-parity#16 the first time -- see that issue and
raven-toolbox#102 for the history), every matched CSV value, including
yeast-GEM's "no measurement" placeholder (10000000.0), is now always
recorded literally, on both languages, with no default left to drift out
of sync. saveDeltaGCSV correspondingly gains no sentinel-writing option:
with load never turning a real value into an absent one, there is nothing
for save to restore.

Generated HTML docs under doc/ are not regenerated here (updateDocumentation()
requires MATLAB) -- needs a doc rebuild before/after merge.
@github-actions

Copy link
Copy Markdown

Function test results

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

Results for commit 1207f96.

@edkerk
edkerk merged commit 7557145 into develop3 Aug 31, 2026
4 checks passed
@edkerk
edkerk deleted the fix/deltagcsv-split branch August 31, 2026 16:05
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