Skip to content

Refactor/make binseq inputs paths#93

Merged
noamteyssier merged 2 commits into
mainfrom
refactor/make-binseq-inputs-paths
Jun 26, 2026
Merged

Refactor/make binseq inputs paths#93
noamteyssier merged 2 commits into
mainfrom
refactor/make-binseq-inputs-paths

Conversation

@noamteyssier

Copy link
Copy Markdown
Collaborator

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the crate version to 0.9.2 and refactors BinseqReader::new to accept any type implementing AsRef<Path> instead of a &str. However, the current implementation will fail to compile due to borrow checker issues because path is moved into the reader constructors while still borrowed by path.as_ref().extension(). It is recommended to bind let path = path.as_ref(); at the start of the function to resolve this issue and simplify the code.

Comment thread src/parallel.rs
@noamteyssier noamteyssier merged commit cf74abd into main Jun 26, 2026
28 checks passed
@noamteyssier noamteyssier deleted the refactor/make-binseq-inputs-paths branch June 26, 2026 02:34
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