Skip to content

Commit 86a7785

Browse files
pre-commit
1 parent ade95bd commit 86a7785

File tree

9 files changed

+4
-11
lines changed

9 files changed

+4
-11
lines changed

docs/plot_dataset/treemap.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,29 @@
22

33
"""Utilities to generate the EEG Dash dataset treemap."""
44

5+
import math
56
from pathlib import Path
67
from typing import Iterable
78

8-
import math
99
import pandas as pd
1010
import plotly.graph_objects as go
1111

1212
try: # Allow import both as a package and as a script
1313
from .colours import (
1414
CANONICAL_MAP,
1515
MODALITY_COLOR_MAP,
16+
MODALITY_EMOJI,
1617
PATHOLOGY_COLOR_MAP,
1718
PATHOLOGY_PASTEL_OVERRIDES,
18-
MODALITY_EMOJI,
1919
hex_to_rgba,
2020
)
2121
except ImportError: # pragma: no cover - fallback for direct script execution
2222
from colours import ( # type: ignore
2323
CANONICAL_MAP,
2424
MODALITY_COLOR_MAP,
25+
MODALITY_EMOJI,
2526
PATHOLOGY_COLOR_MAP,
2627
PATHOLOGY_PASTEL_OVERRIDES,
27-
MODALITY_EMOJI,
2828
hex_to_rgba,
2929
)
3030

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
import importlib
33
import inspect
44
import os
5-
import sys
65
import shutil
6+
import sys
77
from collections import Counter
88
from datetime import datetime, timezone
99
from pathlib import Path

eegdash/features/datasets.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
from ..logging import logger
2020

21-
2221
__all__ = [
2322
"FeaturesDataset",
2423
"FeaturesConcatDataset",

eegdash/features/decorators.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
_get_underlying_func,
1111
)
1212

13-
1413
__all__ = [
1514
"bivariate_feature",
1615
"FeatureKind",

eegdash/features/extractors.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import numpy as np
99
from numba.core.dispatcher import Dispatcher
1010

11-
1211
__all__ = [
1312
"BivariateFeature",
1413
"DirectedBivariateFeature",

eegdash/features/feature_bank/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import numpy as np
22

3-
43
__all__ = [
54
"DEFAULT_FREQ_BANDS",
65
"get_valid_freq_band",

eegdash/features/inspect.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from . import extractors, feature_bank
77
from .extractors import FeatureExtractor, MultivariateFeature, _get_underlying_func
88

9-
109
__all__ = [
1110
"get_all_feature_extractors",
1211
"get_all_feature_kinds",

eegdash/features/serialization.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
from .datasets import FeaturesConcatDataset, FeaturesDataset
2020

21-
2221
__all__ = [
2322
"load_features_concat_dataset",
2423
]

eegdash/features/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
from .datasets import FeaturesConcatDataset, FeaturesDataset
1818
from .extractors import FeatureExtractor
1919

20-
2120
__all__ = [
2221
"extract_features",
2322
"fit_feature_extractors",

0 commit comments

Comments
 (0)