We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1abe681 commit 49f9734Copy full SHA for 49f9734
nibabel/ecat.py
@@ -54,7 +54,6 @@
54
from .arraywriters import make_array_writer
55
from .wrapstruct import WrapStruct
56
from .fileslice import canonical_slicers, predict_shape, slice2outax
57
-from .deprecated import deprecate_with_version
58
59
BLOCK_SIZE = 512
60
@@ -864,14 +863,6 @@ def get_subheaders(self):
864
863
"""get access to subheaders"""
865
return self._subheader
866
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
-
875
@staticmethod
876
def _get_fileholders(file_map):
877
""" returns files specific to header and image of the image
0 commit comments