Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix requirements and remove deprecated unittest2 #78

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pillow>=7.1.2
threadpoolctl
scikit-learn
numpy>=1.10.2
scipy
scikit-image
scikit-learn
future
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"scikit-image",
"scikit-learn",
"future",
"unittest2",
"threadpoolctl"
],
keywords=['deep learning', 'image segmentation', 'image classification', 'medical image analysis',
Expand Down
4 changes: 1 addition & 3 deletions tests/test_axis_mirroring.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import unittest

import unittest2
import numpy as np
from skimage import data

Expand All @@ -22,7 +20,7 @@
from batchgenerators.transforms.spatial_transforms import MirrorTransform


class TestMirrorAxis(unittest2.TestCase):
class TestMirrorAxis(unittest.TestCase):
def setUp(self):
self.seed = 1234

Expand Down