Skip to content

Commit

Permalink
BUG: Fix getFeatureClasses in schemaFuncs.py
Browse files Browse the repository at this point in the history
`schemaFuncs.py` reflected the old implementation of `getFeatureClasses`, where it was implemented in `featureextractor`. As of 4771963, `getFeatureClasses` is implemented directly in the radiomics namespace. Update `schemaFuncs.py` accordingly.
  • Loading branch information
JoostJM committed Feb 15, 2017
1 parent 84dc727 commit 784115e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/schemaFuncs.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import pywt
import six

from radiomics.featureextractor import RadiomicsFeaturesExtractor
from radiomics import getFeatureClasses

featureClasses = RadiomicsFeaturesExtractor.getFeatureClasses()
featureClasses = getFeatureClasses()

def checkWavelet(value, rule_obj, path):
if not isinstance(value, six.string_types):
Expand Down

0 comments on commit 784115e

Please sign in to comment.