Fix datastack_module model_ids; cleanup (1774)
This commit is contained in:
parent
15ed80f0bb
commit
a7037cdf72
|
@ -1,5 +1,5 @@
|
|||
MODEL_SPEC = {
|
||||
'model_id': 'mymodel',
|
||||
'model_id': 'archive_extraction_model',
|
||||
'args': {
|
||||
'blank': {'type': 'freestyle_string'},
|
||||
'a': {'type': 'integer'},
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
MODEL_SPEC = {
|
||||
'model_id': 'mymodel',
|
||||
'model_id': 'duplicate_filepaths_model',
|
||||
'args': {
|
||||
'foo': {'type': 'file'},
|
||||
'bar': {'type': 'file'},
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
MODEL_SPEC = {
|
||||
'model_id': 'mymodel',
|
||||
'model_id': 'nonspatial_model',
|
||||
'args': {
|
||||
'some_file': {'type': 'file'},
|
||||
'data_dir': {'type': 'directory', 'contents': {}},
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
MODEL_SPEC = {
|
||||
'model_id': 'mymodel',
|
||||
'model_id': 'simple_model',
|
||||
'args': {
|
||||
'a': {'type': 'integer'},
|
||||
'b': {'type': 'freestyle_string'},
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
MODEL_SPEC = {
|
||||
'model_id': 'mymodel',
|
||||
'model_id': 'ui_parameters_model',
|
||||
'args': {
|
||||
'foo': {'type': 'freestyle_string'},
|
||||
'bar': {'type': 'freestyle_string'},
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
MODEL_SPEC = {
|
||||
'model_id': 'vec_model',
|
||||
'model_id': 'vector_model',
|
||||
'args': {
|
||||
'vector': {'type': 'vector'},
|
||||
}
|
||||
|
|
|
@ -10,7 +10,6 @@ from natcap.invest.unit_registry import u
|
|||
from osgeo import gdal
|
||||
from osgeo import ogr
|
||||
|
||||
|
||||
gdal.UseExceptions()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue