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 python module #490

Open
subhacom opened this issue Nov 4, 2024 · 0 comments
Open

Cleanup python module #490

subhacom opened this issue Nov 4, 2024 · 0 comments

Comments

@subhacom
Copy link
Collaborator

subhacom commented Nov 4, 2024

In python/moose/init.py is dirtied with many utility functions, especially model loaders.

  • Unless a thin wrapper over a C++ core function, these increase the loading time quite a bit (e.g., neuroml2)
  • Better to keep these as submodules so that users are not burdened with stuff they do not need: SBML user does not need to load NeuroML2 and vice versa
  • Examples of this approach: numerous submodules of pytorch, scipy.stats, scipy.fft, etc.
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

1 participant