Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

remove some dead code

Jason Kentbad22fb6bff8
diff --git a/tasks/python3/validateOptions.py b/tasks/python3/validateOptions.py
index 25f5b82ad..2ece0930a 100755
--- a/tasks/python3/validateOptions.py
+++ b/tasks/python3/validateOptions.py
@@ -71,11 +71,7 @@ start_date = datetime.max
for layer_id in list(wv["layers"].keys()):
layer = wv["layers"][layer_id]
- # Sometimes we pull a layer id from the ICD appendices for layers that
- # don't exist in WV configs yet. If we find this kind of entry, remove it.
- if (layer.get("conceptId") is not None and layer.get('id') is None):
- remove_layer(wv, layer_id)
- continue
+
if layer_id != layer.get('id'):
error("[%s] layer id does not match id of %s" % (layer_id, layer.get('id')))
if layer_id not in wv["layerOrder"]: