Skip to content

Refactor range setting for tiledb_array#236

Merged
eddelbuettel merged 4 commits intomasterfrom
de/update_range_setting
May 10, 2021
Merged

Refactor range setting for tiledb_array#236
eddelbuettel merged 4 commits intomasterfrom
de/update_range_setting

Conversation

@eddelbuettel
Copy link
Copy Markdown
Contributor

This PR updates the code for range setting via either 'square bracket' indexing (i.e. via A[i:j, k:l] or variations thereof) or the selected_ranges() helper function by combining the former into the code path as the latter. We also allow for generalized use of selected_ranges() via named element lists, no longer requiring all possible dimensions to be present (if when NULL). The unit test file, and help documentation, were extended too.

As the dimension setting test file was using the same small-to-medium size Palmer Penguins data set (when present), we now also suggest the package supplying it. This is an inexpensive Suggests: as the package has not further dependencies itself (but only Suggests: too).

@eddelbuettel eddelbuettel force-pushed the de/update_range_setting branch from 24daed9 to 3cddb42 Compare May 10, 2021 15:47
@eddelbuettel
Copy link
Copy Markdown
Contributor Author

Thanks!

@eddelbuettel eddelbuettel merged commit 06dcc85 into master May 10, 2021
@eddelbuettel eddelbuettel deleted the de/update_range_setting branch May 10, 2021 16:21
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.

2 participants