Skip to content

Commit

Permalink
Remove surface functions and interfaces (#890)
Browse files Browse the repository at this point in the history
* Remove surface stuff.

* Fix style issues.
  • Loading branch information
tsalo authored Nov 22, 2024
1 parent 903c99f commit 7ce34e5
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 566 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ ignore = [
"S602", # TODO: Fix these
"E402", # TODO: Fix these
"UP028", # TODO: Fix these
"UP031", # TODO: Fix these
"BLE001", # TODO: Fix these
]

Expand Down
2 changes: 1 addition & 1 deletion qsiprep/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
# Just get so analytics track one hit
from contextlib import suppress

from requests import ConnectionError, ReadTimeout
from requests import ConnectionError, ReadTimeout # noqa: A004
from requests import get as _get_url

with suppress((ConnectionError, ReadTimeout)):
Expand Down
14 changes: 1 addition & 13 deletions qsiprep/interfaces/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,9 @@
from .bids import BIDSDataGrabber, BIDSInfo, DerivativesDataSink, DerivativesMaybeDataSink
from .confounds import DMRISummary, GatherConfounds
from .fmap import FieldToHz, FieldToRadS, Phasediff2Fieldmap, Phases2Fieldmap
from .freesurfer import (
FSDetectInputs,
FSInjectBrainExtracted,
MakeMidthickness,
RefineBrainMask,
StructuralReference,
)
from .freesurfer import StructuralReference
from .images import Conform, ConformDwi, IntraModalMerge, ValidateImage
from .reports import AboutSummary, SubjectSummary
from .surf import NormalizeSurf
from .utils import AddTSVHeader, ConcatAffines

__all__ = [
Expand All @@ -23,14 +16,10 @@
'DMRISummary',
'FieldToHz',
'FieldToRadS',
'FSDetectInputs',
'FSInjectBrainExtracted',
'GatherConfounds',
'IntraModalMerge',
'MakeMidthickness',
'Phasediff2Fieldmap',
'Phases2Fieldmap',
'RefineBrainMask',
'StructuralReference',
'ValidateImage',
'AboutSummary',
Expand All @@ -39,5 +28,4 @@
'ConcatAffines',
'DerivativesDataSink',
'DerivativesMaybeDataSink',
'NormalizeSurf',
]
Loading

0 comments on commit 7ce34e5

Please sign in to comment.