Skip to content

fix(veff): handle single-child transcripts consistently#1026

Open
Sharon-codes wants to merge 2 commits intomalariagen:masterfrom
Sharon-codes:issue-840-snp-af-single-child
Open

fix(veff): handle single-child transcripts consistently#1026
Sharon-codes wants to merge 2 commits intomalariagen:masterfrom
Sharon-codes:issue-840-snp-af-single-child

Conversation

@Sharon-codes
Copy link
Copy Markdown
Contributor

Changes:
veff.Annotator.get_children() now always returns a DataFrame (fixes single-child transcript crash).
Added informative ValueError when transcript has no CDS features.
Added regression tests in tests/test_veff.py.

Validation:
poetry run pytest -q tests/test_veff.py passed.
poetry run pre-commit run --files malariagen_data/veff.py tests/test_veff.py passed.

@Sharon-codes
Copy link
Copy Markdown
Contributor Author

@jonbrenas Heyy please check if its upto your liking or else let me know for any more changes , thanksss!!!

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.12%. Comparing base (5ed1bb0) to head (46d19fc).
⚠️ Report is 28 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1026      +/-   ##
==========================================
+ Coverage   90.08%   90.12%   +0.03%     
==========================================
  Files          50       50              
  Lines        5428     5429       +1     
==========================================
+ Hits         4890     4893       +3     
+ Misses        538      536       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@Sharon-codes
Copy link
Copy Markdown
Contributor Author

heyy @jonbrenas please look into this and if as per liking , accept it !!!

@Sharon-codes
Copy link
Copy Markdown
Contributor Author

Heyy @jonbrenas if all good , please accept the PR , do let me know if you want me to add any changes , Thanksss !!

@Sharon-codes
Copy link
Copy Markdown
Contributor Author

@jonbrenas heyyy please check and close if all good !!

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