Skip to content

Fix partial-line parsing in kegg_list - #41

Merged
cvigilv merged 1 commit into
mainfrom
cv/fix28-list-complete-response
Sep 15, 2026
Merged

cvigilv merged 1 commit into
mainfrom
cv/fix28-list-complete-response

Conversation

@cvigilv

@cvigilv cvigilv commented Sep 15, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • fetch complete kegg_list responses through the shared request function
  • infer two-column and genomic-feature response shapes without a "genes" sentinel
  • handle empty responses, blank lines, trailing newlines, and second URL segments
  • add a local HTTP fixture that splits one record across network writes

Tests

  • julia --project -e 'using Pkg; Pkg.test()'
  • Julia 1.10 package tests in a clean temporary environment
  • julia --project=docs docs/make.jl
  • runic --check src/ test/ docs/

Fixes #28.

Route list requests through the common request helper and parse only after the complete response arrives. Infer two- and four-column list shapes, handle empty and blank responses, and avoid trailing URL segments.

Fixes #28.
@codecov

codecov Bot commented Sep 15, 2026

Copy link
Copy Markdown

Codecov Report

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

Files with missing lines Patch % Lines
src/List.jl 75.00% 2 Missing ⚠️
Files with missing lines Coverage Δ
src/Parsers.jl 85.18% <100.00%> (+26.97%) ⬆️
src/List.jl 36.84% <75.00%> (-8.32%) ⬇️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cvigilv
cvigilv merged commit 8a9e8e0 into main Sep 15, 2026
5 checks passed
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.

Avoid partial-line corruption in kegg_list

1 participant