Repository navigation
Include target file paths in IO error messages for FASTA/Newick operations - #207
Draft
MattesMrzik with Copilot wants to merge 5 commits into
Draft
MattesMrzik with Copilot wants to merge 5 commits into
MattesMrzik with Copilot wants to merge 5 commits into
Conversation
Co-authored-by: MattesMrzik <35169243+MattesMrzik@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add file paths to IO errors when file not found
Include target file paths in IO error messages for FASTA/Newick operations
Oct 27, 2026
Co-authored-by: MattesMrzik <35169243+MattesMrzik@users.noreply.github.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #207 +/- ##
===========================================
+ Coverage 96.32% 96.90% +0.58%
===========================================
Files 32 53 +21
Lines 4355 6564 +2209
===========================================
+ Hits 4195 6361 +2166
- Misses 160 203 +43 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
Test Results1 175 tests +1 1 174 ✅ +1 29m 31s ⏱️ + 14m 42s Results for commit 37132c4. ± Comparison against base commit f76a766. This pull request removes 3 and adds 4 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
IO failures (e.g., missing file/invalid path) were surfaced without consistently identifying which path failed, making troubleshooting harder. This change makes file-path context explicit across core read/write IO flows.
Scope: path-aware IO errors
map_errhandling insrc/io/mod.rssoError::Iomessages include the affected path for:Reader::from_file)Writer::to_file,write_record)fs::read_to_string)File::create,write_all)Behavioral coverage