Fix datastack_module model_ids; cleanup (1774)

This commit is contained in:
Claire Simpson 2025-05-06 11:43:04 -06:00
parent 15ed80f0bb
commit a7037cdf72
7 changed files with 6 additions and 7 deletions

View File

@ -1,5 +1,5 @@
MODEL_SPEC = {
'model_id': 'mymodel',
'model_id': 'archive_extraction_model',
'args': {
'blank': {'type': 'freestyle_string'},
'a': {'type': 'integer'},

View File

@ -1,5 +1,5 @@
MODEL_SPEC = {
'model_id': 'mymodel',
'model_id': 'duplicate_filepaths_model',
'args': {
'foo': {'type': 'file'},
'bar': {'type': 'file'},

View File

@ -1,5 +1,5 @@
MODEL_SPEC = {
'model_id': 'mymodel',
'model_id': 'nonspatial_model',
'args': {
'some_file': {'type': 'file'},
'data_dir': {'type': 'directory', 'contents': {}},

View File

@ -1,5 +1,5 @@
MODEL_SPEC = {
'model_id': 'mymodel',
'model_id': 'simple_model',
'args': {
'a': {'type': 'integer'},
'b': {'type': 'freestyle_string'},

View File

@ -1,5 +1,5 @@
MODEL_SPEC = {
'model_id': 'mymodel',
'model_id': 'ui_parameters_model',
'args': {
'foo': {'type': 'freestyle_string'},
'bar': {'type': 'freestyle_string'},

View File

@ -1,5 +1,5 @@
MODEL_SPEC = {
'model_id': 'vec_model',
'model_id': 'vector_model',
'args': {
'vector': {'type': 'vector'},
}

View File

@ -10,7 +10,6 @@ from natcap.invest.unit_registry import u
from osgeo import gdal
from osgeo import ogr
gdal.UseExceptions()