We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2a0467 commit 739c570Copy full SHA for 739c570
nibabel/spatialimages.py
@@ -506,14 +506,6 @@ def make_file_map(klass, mapping=None):
506
def load(klass, filename):
507
return klass.from_filename(filename)
508
509
- @classmethod
510
- def save(klass, img, filename):
511
- warnings.warn('``save`` class method is deprecated\n'
512
- 'You probably want the ``to_filename`` instance '
513
- 'method, or the module-level ``save`` function',
514
- DeprecationWarning, stacklevel=2)
515
- klass.instance_to_filename(img, filename)
516
-
517
@classmethod
518
def instance_to_filename(klass, img, filename):
519
''' Save `img` in our own format, to name implied by `filename`
0 commit comments