Skip to content

Add Tables.jl result contract - #37

Open
cvigilv wants to merge 1 commit into
mainfrom
cv/fix26
Open

Add Tables.jl result contract#37
cvigilv wants to merge 1 commit into
mainfrom
cv/fix26

Conversation

@cvigilv

@cvigilv cvigilv commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Closes #26.

Summary

  • add the exported, immutable KeggTable result type and its Tables.jl column-access interface
  • standardize tabular responses on named String columns, including known schemas for empty and batched results
  • report conversion and link columns as source_id then target_id, matching KEGG response order
  • keep .data and .colnames as deprecated compatibility properties
  • document direct DataFrame(result) conversion and named-column access

Tests

  • julia +1.10 --project -e 'using Pkg; Pkg.test()'
  • julia +release --project -e 'using Pkg; Pkg.test()'
  • julia +release --project=docs docs/make.jl

Unify tabular KEGG responses under an exported KeggTable type, preserve deprecated compatibility properties, and document direct Tables.jl and DataFrames use.

Fixes #26
@codecov

codecov Bot commented Sep 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.61017% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/List.jl 90.00% 1 Missing ⚠️
src/Structures.jl 95.45% 1 Missing ⚠️
Files with missing lines Coverage Δ
src/Conv.jl 100.00% <100.00%> (ø)
src/Ddi.jl 100.00% <ø> (ø)
src/Find.jl 90.00% <ø> (ø)
src/KEGGAPI.jl 100.00% <ø> (ø)
src/Link.jl 100.00% <100.00%> (+3.84%) ⬆️
src/Parsers.jl 100.00% <100.00%> (+41.79%) ⬆️
src/List.jl 78.12% <90.00%> (+29.64%) ⬆️
src/Structures.jl 95.65% <95.45%> (+28.98%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Define a consistent contract for tabular results

1 participant