-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
Expand (and pass) nested FSStore tests #709
Merged
joshmoore
merged 19 commits into
zarr-developers:master
from
d-v-b:fsstore_nested_tests
May 19, 2021
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
dfc9cc1
FSStore: aflesh out incomplete test and add another. The first test p…
d-v-b eea0172
pep8 fixes
d-v-b 7242e0e
Merge branch 'master' of https://github.com/zarr-developers/zarr-pyth…
d-v-b 1fddbb6
TestNestedFSStore: tweak second assertion of test_numbered_groups
d-v-b 03f3483
FSStore: change ggetitems to return dict with input keys
d-v-b 4201043
TestArrayWithFSStore: add key_separator kwarg FSStore constructor
d-v-b 1ce8c79
TestArrayWithFSStore: add key_separator arg to store constructor in c…
d-v-b 03cffbc
Merge branch 'fsstore_nested_tests' of https://github.com/d-v-b/zarr-…
d-v-b 2361f44
revert changes. the logic I need to test actually lives in test_core,…
d-v-b 996808b
kill some whitespace
d-v-b e33f60a
add nested tfsstore tests
d-v-b 010a758
FSStore: fsstore.listdir now handles nested keys
d-v-b babd76a
FSStore: re-order conditional evaluation in listdir
d-v-b b679c08
FSStore: use self.fs.find in listdir
d-v-b c979226
Merge 'origin/master' into pr-709
joshmoore 749747c
Add tests from #718
joshmoore 7f1ba5e
Apply suggestion from @grlee77
joshmoore e46ad54
Update PartialRead hexdigest values
joshmoore d25b2b2
More hexdigest updates
joshmoore File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@martindurant: can you comment if this matches your expectations?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@martindurant : any thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, now I have reminded myself what it's doing, and I suppose this is reasonable. As to it's accuracy in all cases, I can only guess it looks right.
It makes you wonder how useful
listdir
actually if for the case offsspec
. I suppose it remains true that a user might want to start exploring a dataset at some high-level group and descend to a specific array, yet make sure they never list the entire set of files (which could be expensive).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @martindurant. I'm going to take that as a 👍 and get this into a 2.8.1 release. It seems that this may be something that needs a re-evaluation down the line.