Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix FastaStreamerTest tests failing on windows due to URL handling #1093

Merged
merged 2 commits into from Apr 26, 2024

Conversation

cometbroom
Copy link
Contributor

@cometbroom cometbroom commented Apr 24, 2024

Issue #1092 :
When getting a resource with the, getFile() method. It does not contain the scheme of the resource you're trying to access. That is needed by Paths.get() to create a path appropriate for Windows file system.
The url returned by getFile() would be "C:/Users/etc" while it needs to be "file:/C:/Users/etc"

Copy link
Contributor

@josemduarte josemduarte left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM. Did you manage to test this in windows?

One thing only: could you revert the changes to the pom files? Those shouldn't be needed. We'll increment versions at next release automatically.

@cometbroom
Copy link
Contributor Author

@josemduarte Yes all tests passed successfully on windows.

Also reverted changes to pom files. My bad, missed that part.

@josemduarte josemduarte merged commit b33d74c into biojava:master Apr 26, 2024
3 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.

None yet

2 participants