8000 Revert lazy loading (importing) packages by cbrnr · Pull Request #13124 · mne-tools/mne-python · GitHub
[go: up one dir, main page]

Skip to content

Revert lazy loading (importing) packages #13124

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

Draft
wants to merge 49 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit < 8000 details-menu class="select-menu-modal position-absolute" style="z-index: 99;">
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
0c504b7
Revert "handle lazy loading through .pyi type stubs (#12072)"
cbrnr Feb 23, 2025
1f00b19
Revert "ENH: use lazy loading (#11838)"
cbrnr Feb 23, 2025
7bafe87
ruff
cbrnr Feb 23, 2025
b4426cc
Style
cbrnr Feb 23, 2025
fb2676e
Various fixes
cbrnr Feb 23, 2025
269e0d3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2025
d8b963f
Fix ruff errors
cbrnr Feb 24, 2025
0f82b9c
More fixes
cbrnr Feb 24, 2025
bb7ac08
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2025
c4222a9
More fixes
cbrnr Feb 24, 2025
edafe19
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2025
70f8d34
gui fixes
cbrnr Feb 24, 2025
255531a
More gui
cbrnr Feb 24, 2025
0c5ed99
Add missing file
cbrnr Feb 24, 2025
2c0026f
More fixes
cbrnr Feb 24, 2025
ed67948
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2025
4b55795
Even more
cbrnr Feb 24, 2025
e84e5e3
Revert
cbrnr Feb 24, 2025
305cd63
Undelete
cbrnr Feb 24, 2025
a992cd2
[autofix.ci] apply automated fixes
autofix-ci[bot] Feb 24, 2025
3402942
Remove script
cbrnr Feb 24, 2025
e77340d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2025
325213a
Add missing imports
cbrnr Feb 24, 2025
6599745
Fix imports
cbrnr Feb 24, 2025
107948c
Nest SciPy
cbrnr Feb 24, 2025
7799c20
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2025
71c345e
Remove lazy-loader core dep (temporary fix)
cbrnr Feb 25, 2025
1a007bb
Do not export xdawn
cbrnr Feb 25, 2025
a279410
Export source_space
cbrnr Feb 25, 2025
753f92a
Explicit source_space exports
cbrnr Feb 25, 2025
5bd359d
More explicit exports
cbrnr Feb 25, 2025
f563516
More
cbrnr Feb 25, 2025
aa5cd17
Export BaseTFR
cbrnr Feb 25, 2025
4406c5b
Fix fft
cbrnr Feb 25, 2025
d800621
Remove public exports
cbrnr Feb 25, 2025
ffad545
Add __all__
cbrnr Feb 25, 2025
1fb130e
Add missing submodules
cbrnr Feb 26, 2025
af1ddcd
Merge branch 'main' into revert-lazyloader
cbrnr Feb 26, 2025
2c90634
Fix import nesting test
cbrnr Feb 26, 2025
5e2f83c
Revert
cbrnr Feb 26, 2025
d2c5d80
Adjust nesting test
cbrnr Feb 27, 2025
fb63ce4
Merge branch 'main' into revert-lazyloader
8000 cbrnr Feb 27, 2025
7843ad5
Add missing export
cbrnr Feb 27, 2025
ae518da
csr_matrix -> csr_array
cbrnr Feb 27, 2025
50bc4e0
Fix csr_array
cbrnr Feb 27, 2025
27db5fb
Add more missing exports
cbrnr Feb 27, 2025
a21a1a1
More missing exports
cbrnr Feb 27, 2025
6fed24e
Use minimum_phase from fixes
cbrnr Feb 27, 2025
71323ec
Merge branch 'main' into revert-lazyloader
cbrnr Mar 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
More missing exports
  • Loading branch information
cbrnr committed Feb 27, 2025
commit a21a1a1029675184bc9cf2c5ec30ee1569bb00d0
8 changes: 8 additions & 0 deletions mne/channels/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
read_custom_montage,
read_dig_hpts,
read_dig_localite,
transform_to_head,
compute_native_head_t,
)
from .channels import (
Expand All @@ -53,6 +54,8 @@
# Data Structures
"DigMontage",
"Layout",
"_SELECTIONS",
"_EEG_SELECTIONS",
# Factory Methods
"make_dig_montage",
"make_eeg_layout",
Expand Down Expand Up @@ -82,6 +85,11 @@
"get_builtin_montages",
"combine_channels",
"read_vectorview_selection",
"transform_to_head",
"unify_bad_channels",
"_divide_to_regions",
# Adjacency
"get_builtin_ch_adjacencies",
# Other
"compute_dev_head_t",
"compute_native_head_t",
Expand Down
5 changes: 4 additions & 1 deletion mne/datasets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@
from ._fetch import fetch_dataset
from .utils import (
_download_all_example_data,
fetch_hcp_mmp_parcellation,
default_path,
fetch_aparc_sub_parcellation,
fetch_hcp_mmp_parcellation,
has_dataset,
)
from ._fsaverage.base import fetch_fsaverage
Expand All @@ -48,6 +49,7 @@
"_download_all_example_data",
"_fake",
"brainstorm",
"default_path",
"eegbci",
"fetch_aparc_sub_parcellation",
"fetch_fsaverage",
Expand Down Expand Up @@ -77,4 +79,5 @@
"refmeg_noise",
"fnirs_motor",
"eyelink",
"ucl_opm_auditory",
]
Loading
0