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

Useful __all__ and no * import #13

Open
flying-sheep opened this issue Jun 27, 2016 · 1 comment
Open

Useful __all__ and no * import #13

flying-sheep opened this issue Jun 27, 2016 · 1 comment

Comments

@flying-sheep
Copy link
Contributor

Your example notebooks import stuff from utils and import core as scLVM

that’s unnecessary if you import only the useful stuff in __init__.py.

then users can simply do

from scLVM import load_data, scLVM, ...
# or
import scLVM
d = scLVM.load_data(...)
@flophys
Copy link
Member

flophys commented Sep 6, 2016

thanks. if you make a pull request, I'll change it.

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