Skip to content

Commit 49f9734

Browse files
committed
MNT: Remove EcatImage.from_filespec
1 parent 1abe681 commit 49f9734

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

nibabel/ecat.py

-9
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
from .arraywriters import make_array_writer
5555
from .wrapstruct import WrapStruct
5656
from .fileslice import canonical_slicers, predict_shape, slice2outax
57-
from .deprecated import deprecate_with_version
5857

5958
BLOCK_SIZE = 512
6059

@@ -864,14 +863,6 @@ def get_subheaders(self):
864863
"""get access to subheaders"""
865864
return self._subheader
866865

867-
@classmethod
868-
@deprecate_with_version('from_filespec class method is deprecated.\n'
869-
'Please use the ``from_file_map`` class method '
870-
'instead.',
871-
'2.1', '4.0')
872-
def from_filespec(klass, filespec):
873-
return klass.from_filename(filespec)
874-
875866
@staticmethod
876867
def _get_fileholders(file_map):
877868
""" returns files specific to header and image of the image

0 commit comments

Comments
 (0)