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

Cleanup axes initialization. #36

Open
perrette opened this issue Mar 17, 2016 · 0 comments
Open

Cleanup axes initialization. #36

perrette opened this issue Mar 17, 2016 · 0 comments

Comments

@perrette
Copy link
Owner

Right now a large number of possibilities exist to initialize axes, in term of nature (list, numpy arrays, Axis instances) and methods to pass them as argument (as a sequence of axes, or in the 1-D case just the one axis). This is all fine and handy, but is more error prone, as an axis as a list of elements, and a list of axes look pretty similar at first sight, programmatically (need to look at content to distinguish them). Introduce a few more checks and error messages, so that at least obvious errors can be treated, e.g. issue #35.

And possibly, sacrifice a few options for the sake of clarity.

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

1 participant