Skip to content
Snippets Groups Projects
Commit e3b48a6d authored by Anjith GEORGE's avatar Anjith GEORGE
Browse files

test import

parent 6a4ae113
Branches
No related tags found
Loading
Pipeline #29807 failed
...@@ -6,7 +6,7 @@ import numpy as np ...@@ -6,7 +6,7 @@ import numpy as np
#Extra packages #Extra packages
import pywt import pywt
import mahotas import importlib
class HaralickRDWT(Extractor): class HaralickRDWT(Extractor):
...@@ -96,6 +96,12 @@ class HaralickRDWT(Extractor): ...@@ -96,6 +96,12 @@ class HaralickRDWT(Extractor):
features=[] features=[]
try:
mahotas=importlib.import_module('mahotas')
except:
pass # TODO: test
for decomposition in decompositions: for decomposition in decompositions:
## the type should be decided; haralick needs it to be uint8 ## the type should be decided; haralick needs it to be uint8
......
...@@ -77,6 +77,7 @@ dependencies: ...@@ -77,6 +77,7 @@ dependencies:
- libxcb=1.13 - libxcb=1.13
- libxml2=2.9.8 - libxml2=2.9.8
- lmdb=0.9.22 - lmdb=0.9.22
- mahotas=1.4.5
- markdown=3.0.1 - markdown=3.0.1
- markupsafe=1.0 - markupsafe=1.0
- matplotlib=3.0.2 - matplotlib=3.0.2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment