Skip to content

Commit

Permalink
STYL: Fix Flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
JoostJM committed Apr 11, 2018
1 parent 9899db3 commit 93dc12c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions radiomics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ def getProgressReporter(*args, **kwargs):
setVerbosity(logging.WARNING)

# 2. Attempt to load and enable the C extensions.
cMatrices = None # set cMatrices to None to prevent an import error in the feature classes.
cShape = None
try:
from radiomics import _cmatrices as cMatrices
from radiomics import _cshape as cShape
Expand Down
4 changes: 2 additions & 2 deletions tests/add_baseline.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import numpy
import six

from radiomics import getFeatureClasses, generalinfo
from testUtils import RadiomicsTestUtils, PyRadiomicsBaseline
from radiomics import generalinfo, getFeatureClasses
from testUtils import PyRadiomicsBaseline, RadiomicsTestUtils


class AddBaseline:
Expand Down

0 comments on commit 93dc12c

Please sign in to comment.