Skip to content

Commit 4b33efe

Browse files
authored
[MAINT] use updated black (#876)
use updated black
1 parent f182bbd commit 4b33efe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+107
-45
lines changed

nimare/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""NiMARE: Neuroimaging Meta-Analysis Research Environment."""
2+
23
import logging
34
import warnings
45

nimare/annotate/cogat.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Automated annotation of Cognitive Atlas labels."""
2+
23
import logging
34
import re
45

nimare/annotate/gclda.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Topic modeling with generalized correspondence latent Dirichlet allocation."""
2+
23
import logging
34
import os.path as op
45

nimare/annotate/lda.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Topic modeling with latent Dirichlet allocation."""
2+
23
import numpy as np
34
import pandas as pd
45
from sklearn.decomposition import LatentDirichletAllocation

nimare/annotate/text.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Text extraction tools."""
2+
23
import logging
34
import os.path as op
45

nimare/annotate/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Utility functions for ontology tools."""
2+
23
import numpy as np
34
import pandas as pd
45

nimare/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Base classes for NiMARE."""
2+
23
import gzip
34
import inspect
45
import logging

nimare/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Command-line interfaces for common workflows."""
2+
23
import argparse
34
import os.path as op
45

nimare/correct.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Multiple comparisons correction methods."""
2+
23
import inspect
34
import logging
45
from abc import abstractproperty
@@ -142,9 +143,9 @@ def inspect(cls, result):
142143
duplicate_methods = list(set(corr_methods) & set(est_methods))
143144
for duplicate_method in duplicate_methods:
144145
if duplicate_method in corr_methods:
145-
corr_methods[
146-
corr_methods.index(duplicate_method)
147-
] = f"{duplicate_method} (overridden)"
146+
corr_methods[corr_methods.index(duplicate_method)] = (
147+
f"{duplicate_method} (overridden)"
148+
)
148149

149150
LGR.info(
150151
f"Available non-specific methods: {', '.join(corr_methods)}\n"

nimare/dataset.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Classes for representing datasets of images and/or coordinates."""
2+
23
import copy
34
import inspect
45
import json

0 commit comments

Comments
 (0)