Skip to content

Instantly share code, notes, and snippets.

@emlys
Last active January 7, 2022 01:16
Show Gist options
  • Save emlys/35b379052f918bc5ccfe68ccfa7b1e79 to your computer and use it in GitHub Desktop.
Save emlys/35b379052f918bc5ccfe68ccfa7b1e79 to your computer and use it in GitHub Desktop.
where to update for new model

invest

  • HISTORY.rst: Model names list in comment at top of file
  • HISTORY.rst: note that model was added
  • installer/windows/invest_installer.nsi: windows start menu link
  • installer/windows/invest_installer.nsi: windows data downloads list
  • Makefile: user's guide commit hash
  • Makefile: sample data commit hash
  • Makefile: test data commit hash (if needed)
  • Makefile: ZIPDIRS list
  • scripts/invest-autotest.py: add to dictionary
  • setup.py: (if a package) packages kwarg in setup function
  • src/natcap/invest/__init__.py model metadata dictionary
  • src/natcap/invest/model.py: model source file
  • src/natcap/invest/ui/model.py: model ui file
  • tests/test_model.py: model test file

invest-workbench

  • src/renderer/components/ResourcesLinks/index.jsx: forum tags list
  • src/renderer/sampledata_registry.json: link to model sample data (update this automatically)
  • src/renderer/ui_config.js: set order of inputs

invest.users-guide

  • source/index.rst: toctree entry
  • source/model/: tables/images for model user's guide page (if needed)
  • source/model.rst: model user's guide page

invest-sample-data

  • .gitattributes: entry for model
  • model/: model sample data

invest-test-data

  • .gitattributes: entry for model (if test data was added)
  • model/: model test data (if needed)

other

  • create new model tag on the forum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment