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

implement function load_arrays() (to use in viewer only) #276

Closed
alixdamman opened this issue May 24, 2017 · 5 comments
Closed

implement function load_arrays() (to use in viewer only) #276

alixdamman opened this issue May 24, 2017 · 5 comments

Comments

@alixdamman
Copy link
Collaborator

It appears that some users would like to have a function that does same thing as edit() does:
search for all existing LArray objects and create a Session + save it.

Same with a 'load_arrays' function : load a Session and put all arrays in the current namespace.

@gdementen
Copy link
Contributor

gdementen commented May 24, 2017

  • unsure having save_arrays() is worth it when we already have local_arrays().save()
  • load_arrays() should be implemented so that we can do the equivalent of File->Open via the console, but we should make it clear in the documentation that it should only ever be used in an interactive console and not in a script (because users/editors/... lose the ability to track where each variable comes from).

@alixdamman alixdamman changed the title implement functions save_arrays() and load_arrays() implement function local_arrays() (to use in viewer only) May 24, 2017
@gdementen gdementen changed the title implement function local_arrays() (to use in viewer only) implement function load_arrays() (to use in viewer only) May 24, 2017
@alixdamman
Copy link
Collaborator Author

I didn't know local_arrays() already exist. Now I know. Sorry.

@gdementen
Copy link
Contributor

np :)

@alixdamman
Copy link
Collaborator Author

The function is not documented. Is there a reason for that (users should not use it)?

@gdementen
Copy link
Contributor

Just an oversight I guess.

gdementen added a commit to gdementen/larray that referenced this issue Jun 1, 2017
gdementen added a commit to gdementen/larray that referenced this issue Jun 7, 2017
@gdementen gdementen self-assigned this Jun 9, 2017
@gdementen gdementen modified the milestone: 0.24 Jun 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants