Commit cacba3a8 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Removed deprecated reference in tests.

parent 0c847dde
Pipeline #3244 passed with stage
in 17 minutes and 46 seconds
......@@ -19,7 +19,6 @@ from geoarray import GeoArray
from gms_preprocessing import set_config
from gms_preprocessing.algorithms.classification import MinimumDistance_Classifier
from gms_preprocessing.algorithms.classification import kNN_Classifier
from gms_preprocessing.algorithms.classification import SAM_Classifier_OLD
from gms_preprocessing.algorithms.classification import SAM_Classifier
from . import db_host
......@@ -65,12 +64,3 @@ class Test_SAM_Classifier(unittest.TestCase):
self.assertIsInstance(cmap, np.ndarray)
self.assertEqual(cmap.shape, (1010, 1010))
class Test_SAM_Classifier_OLD(unittest.TestCase):
def test_classify(self):
SC = SAM_Classifier_OLD(cluster_centers, CPUs=None)
cmap = SC.classify(test_gA, nodataVal=-9999, tiledims=(400, 200))
self.assertIsInstance(cmap, np.ndarray)
self.assertEqual(cmap.shape, (1010, 1010))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment