Skip to content

Commit

Permalink
DEPRECATE: Remove deprecated functions
Browse files Browse the repository at this point in the history
- Remove commandlinebatch.py
- Remove CalculateFeatures() from radiomics.base.RadiomicsBase
  • Loading branch information
JoostJM committed Feb 11, 2020
1 parent a5a7e61 commit fedaa5e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 178 deletions.
5 changes: 0 additions & 5 deletions radiomics/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,6 @@ def execute(self):

return self.featureValues

@deprecated
def calculateFeatures(self):
self.logger.warning('calculateFeatures() is deprecated, use execute() instead.')
self.execute()

def _calculateVoxels(self):
initValue = self.settings.get('initValue', 0)
voxelBatch = self.settings.get('voxelBatch', -1)
Expand Down
171 changes: 0 additions & 171 deletions radiomics/scripts/commandlinebatch.py

This file was deleted.

3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ def run_tests(self):

entry_points={
'console_scripts': [
'pyradiomics=radiomics.scripts.__init__:parse_args',
'pyradiomicsbatch=radiomics.scripts.commandlinebatch:main' # Deprecated entry point
'pyradiomics=radiomics.scripts.__init__:parse_args'
]},

description='Radiomics features library for python',
Expand Down

0 comments on commit fedaa5e

Please sign in to comment.