Commit Graph

3301 Commits

Author SHA1 Message Date
Emily Soth 0407999347 fix variable name conflicts and get tests passing 2025-05-15 12:30:35 -07:00
Emily Soth 14d696e90e redesign SingleBandRasterInput and create RasterBand and RasterInput classes 2025-05-13 18:40:21 -07:00
Emily Soth 076cd7a3a9 fix missing commas 2025-05-13 11:45:10 -07:00
Emily Soth 57f91dfd89 alphabetize lists of class names 2025-05-12 17:04:55 -07:00
Emily Soth 138337f088 rename geometries property to geometry_types 2025-05-12 16:21:11 -07:00
Emily Soth 214a617e0d Merge branch 'feature/plugins' into feature/1891 2025-05-12 15:50:31 -07:00
Emily Soth 470d012c9e rename spec_utils to spec 2025-05-12 14:51:36 -07:00
Emily Soth 12a43f34ec patch models list in datastack test 2025-05-12 13:45:54 -07:00
Emily Soth 9665164bd5 Merge branch 'feature/plugins' of https://github.com/natcap/invest into feature/plugins 2025-05-12 13:36:46 -07:00
Emily Soth 5e9e739705 Merge branch 'main' into feature/plugins 2025-05-12 13:36:19 -07:00
Emily Soth d5f5258fc3 remove redundant imports from test methods 2025-05-12 13:26:12 -07:00
Emily Soth bf1726ec88 restore compiled modules to the plugins branch 2025-05-08 14:38:09 -07:00
Emily Soth 6639e0ff73 remove UI spec and refactor ui_spec.order to input_field_order property 2025-05-08 11:50:38 -07:00
Emily Soth deb37d9c5c move dropdown functions from ui spec into input class 2025-05-07 17:17:26 -07:00
Emily Soth 382f5f4f2c move 'hidden' property from ui spec into input classes 2025-05-07 16:33:04 -07:00
Claire Simpson 4e4bfb03c8 Fix merge conflict (#1774) 2025-05-06 11:49:15 -06:00
Claire Simpson ec5b2ba299 Fix keyword model_id in test (#1774) 2025-05-06 11:44:01 -06:00
Claire Simpson a7037cdf72 Fix datastack_module model_ids; cleanup (1774) 2025-05-06 11:43:04 -06:00
Claire Simpson 15ed80f0bb Remove unused imports (#1774) 2025-05-06 11:38:59 -06:00
Claire Simpson 5e922564f8 rollback changes to _generate_files_from_spec when function supported datastack metadata test (#1774) 2025-05-06 11:38:01 -06:00
Claire Simpson 4c5307d819 Remove spec_utils metadata test (#1774) 2025-05-06 11:31:06 -06:00
Claire Simpson 2fd150393f Test metadata generation for data in datastack (#1774) 2025-05-06 11:30:13 -06:00
Emily Soth d6bd7457e1 uncomment tests 2025-05-05 21:43:16 -07:00
Emily Soth 6960336416 update tests for spec_utils rename 2025-05-05 20:57:27 -07:00
Emily Soth bd8e0eb435 rename spec_utils to spec 2025-05-05 18:35:56 -07:00
Emily Soth fddbac6080 rewrite timeout to work as a decorator; ModelSpec to_json method 2025-05-05 14:33:53 -07:00
Emily Soth 960b2999c2 remove ModelInputs and ModelOutputs classes 2025-05-02 14:23:14 -07:00
Emily Soth 18d8d10992 rename InputSpec to Input 2025-05-02 12:09:59 -07:00
Emily Soth bde56f9aba serialize args spec using same keys as before 2025-05-01 16:10:45 -07:00
Claire Simpson 8bcdd31506 Refactor metadata generation for datastack to iterate through args_dict and create metadata in-place; revert metadata generation for outputs to prior _walk_spec (#1774) 2025-05-01 15:56:39 -06:00
Emily Soth cc8aafb86f debugging validation test failure 2025-04-29 16:14:22 -07:00
Emily Soth 587e96763e tests passing locally 2025-04-29 14:58:44 -07:00
Claire Simpson 4e0cd49ab7 Updated datastack metadata test to use existing file generation function (#1774) 2025-04-29 14:42:42 -06:00
Emily Soth 81fd1adf10
Merge branch 'feature/plugins' into feature/1891 2025-04-29 20:29:02 +00:00
Claire Simpson 23b0726b18 Fix datastack metadata test args (#1774) 2025-04-29 13:34:17 -06:00
Emily Soth 739eb21b59 work around module reload issue: wrapper function for validation messages 2025-04-29 12:28:50 -07:00
James Douglass ddfb45511e
Merge pull request #1875 from megannissel/bugfix/1689-forest-carbon-geom
Forest Carbon: Global model vector clipping and reprojection
2025-04-29 11:56:28 -07:00
Claire Simpson ae59e4bb3b Test metadata generation for datastack (#1774) 2025-04-28 17:39:46 -06:00
Emily Soth 73b42aecc5 work in progress: updating tests 2025-04-28 12:07:59 -07:00
Claire Simpson 3f33f4b639 Added model_id and contents dict to directories in MODEL_SPEC for helper modules 2025-04-25 18:40:23 -06:00
Emily Soth 57c151f92e validation tests passing with type check functions moved to class methods 2025-04-23 12:37:10 -07:00
Megan Nissel c3fe609d4a
Merge pull request #1888 from emlys/task/remove-pyname
Remove pyname attribute from all model specs
2025-04-22 12:38:22 -04:00
Emily Soth 6925affc76 all validation tests passing 2025-04-21 15:35:40 -07:00
Emily Soth b9fdedb432 work in progress: updating validation tests for object-oriented specs 2025-04-18 16:09:34 -07:00
Claire Simpson 11a2b2bf19 Merge branch 'main' into bugfix/1592-swy-qf-0s 2025-04-18 11:57:04 -06:00
Claire Simpson 324139a8d7 Test that nodata values are handled correctly in QF calculation (#1592) 2025-04-18 11:54:21 -06:00
davemfish b1cf6fbcc4 catch Runtime and ValueErrors from transform_bounding_box. #1849 2025-04-18 09:43:52 -04:00
Emily Soth 26592ee6ea work in progress: object-oriented model specs draft 2025-04-17 17:09:55 -07:00
Emily Soth 13094f3134 update UI server and tests to fix 500 error 2025-04-16 10:29:55 -07:00
Megan Nissel f9dfd99b7f Merge branch 'main' into bugfix/1689-forest-carbon-geom 2025-04-15 16:42:37 -04:00