From abf6bb83e166af7a4d3a570cf379151cd5484fad Mon Sep 17 00:00:00 2001
From: "Daniel.Frisinghelli" <daniel.frisinghelli@eurac.edu>
Date: Tue, 2 Mar 2021 14:49:36 +0100
Subject: [PATCH] Fixed typo: Missing id.

---
 pysegcnn/core/constants.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pysegcnn/core/constants.py b/pysegcnn/core/constants.py
index 50c93b6..7a00aa8 100644
--- a/pysegcnn/core/constants.py
+++ b/pysegcnn/core/constants.py
@@ -189,7 +189,7 @@ class Gdal2Numpy(enum.Enum):
 Sparcs2Alcd = LabelMapping({
 
     SparcsLabels.Shadow.id: AlcdLabels.Shadow.id,
-    SparcsLabels.Shadow_over_water: AlcdLabels.Shadow.id,
+    SparcsLabels.Shadow_over_water.id: AlcdLabels.Shadow.id,
     SparcsLabels.Water.id: AlcdLabels.Water.id,
     SparcsLabels.Snow.id: AlcdLabels.Snow.id,
     SparcsLabels.Land.id: AlcdLabels.Land.id,
-- 
GitLab