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

Hyperchunks not working #797

Closed
smartin71 opened this issue Dec 22, 2017 · 1 comment
Closed

Hyperchunks not working #797

smartin71 opened this issue Dec 22, 2017 · 1 comment
Assignees

Comments

@smartin71
Copy link
Contributor

The expression "0/0/0|3" gets only the 0th piece, where it should get the 0th and 3rd pieces.

For example:

slice_data = slycat.web.server.get_model_arrayset_data (
database, model, "dac-var-data", "%s/0/0|3" % database_ind)[0]

returns only the 0th row, not the 0th and 3rd rows.

Note that if I use "::2" or other expressions with ":"s it does work.

@Spurs20 Spurs20 self-assigned this Feb 7, 2018
@Spurs20
Copy link
Contributor

Spurs20 commented Feb 7, 2018

slice_data = slycat.web.server.get_model_arrayset_data (
database, model, "dac-var-data", "%s/0/0|3" % database_ind)[0]

Will only return the 0th piece.

slice_data = slycat.web.server.get_model_arrayset_data (
database, model, "dac-var-data", "%s/0/0|3" % database_ind)[1]

Will return the 3rd piece.

@Spurs20 Spurs20 closed this as completed Feb 7, 2018
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

No branches or pull requests

2 participants