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 for fsspec 2023.10.0 #636

Merged
merged 1 commit into from
Oct 27, 2023
Merged

Fix for fsspec 2023.10.0 #636

merged 1 commit into from
Oct 27, 2023

Conversation

aulemahal
Copy link
Contributor

@aulemahal aulemahal commented Oct 26, 2023

Change Summary

Instead of a custom f-string to get the full path of files, I used a method of the filesystem object. This solves the string vs tuple issue.

Related issue number

Fixes #635.

Checklist

  • Unit tests for the changes exist
  • Tests pass on CI
  • Documentation reflects the changes where applicable

I did not test with serialization to anything else than a local filesystem.

I tested with fsspec 2022.11.0, the lower bound supported by intake-esm, and the MWE in the issue works as expected.

@aulemahal aulemahal requested a review from mgrover1 as a code owner October 26, 2023 15:48
@aulemahal aulemahal mentioned this pull request Oct 26, 2023
6 tasks
Copy link
Member

@andersy005 andersy005 left a comment

Choose a reason for hiding this comment

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

thank you, @aulemahal! this looks 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.

New Fsspec breaks local file serialization
2 participants