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

Bugfix in parsing LegendDataConfig on Windows #25

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

fhagemann
Copy link
Contributor

The tests on Windows keep on failing since implementing the support for colon-separated filenames in LEGEND_DATA_CONFIG in commit 80b0c11.

What happens is that LEGEND_DATA_CONFIG is split at every colon, including the colons that might belong to a Windows file path (C:\\...). In this PR, I replaced the simple ':' as the split condition with a regular expression r":(?!\\) to avoid splitting :\\ as expected in Windows file paths.

I hope that the tests on Windows will pass again with this fix.

@fhagemann fhagemann added the bug Something isn't working label Feb 5, 2024
Copy link

codecov bot commented Feb 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (59e5b50) 48.96% compared to head (4582365) 48.96%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #25   +/-   ##
=======================================
  Coverage   48.96%   48.96%           
=======================================
  Files          15       15           
  Lines         966      966           
=======================================
  Hits          473      473           
  Misses        493      493           

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

@fhagemann
Copy link
Contributor Author

Nice, no more failing tests on Windows

@oschulz
Copy link
Contributor

oschulz commented Feb 5, 2024

Thanks a lot!

@oschulz oschulz merged commit c5d547d into legend-exp:main Feb 5, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants