Skip to content
This repository was archived by the owner on Feb 8, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ repos:
rev: 22.3.0
hooks:
- id: black
language_version: python3.8
language_version: python
1 change: 0 additions & 1 deletion afqinsight/cnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ def __init__(
project_name=None,
**tuner_kwargs,
):

self.tuner_type = tuner_type
self.layers = layers
self.input_shape = input_shape
Expand Down
2 changes: 1 addition & 1 deletion afqinsight/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def plot_tract_profiles(
y=metric,
hue=hue,
data=df_stat,
ci=ci,
errorbar=("ci", 95.0),
palette=palette,
ax=ax,
linewidth=1.0,
Expand Down
1 change: 0 additions & 1 deletion afqinsight/tests/test_bagging.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ def fit(self, X, y):
X_train_sparse = sparse_format(X_train)
X_test_sparse = sparse_format(X_test)
for params in parameter_sets:

# Trained on sparse format
sparse_classifier = SerialBaggingRegressor(
base_estimator=CustomSVR(), random_state=1, **params
Expand Down
1 change: 0 additions & 1 deletion afqinsight/tests/test_cnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ def test_random_cnn():


def test_fail_cnn():

with pytest.raises(ValueError):
# passing in wrong shape of X (not 2d):
model = CNN(100, 6, 5, 64)
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ setup_requires =
python_requires = >=3.7
install_requires =
dipy>=1.0.0
groupyr>=0.2.7
groupyr>=0.3.2
matplotlib
numpy
pandas>=1.1.0
Expand Down