OSeMOSYS / osemosys_global

A global power system model generator for OSeMOSYS
https://osemosys-global.readthedocs.io/
GNU Affero General Public License v3.0
26 stars 15 forks source link

Environment Update #147

Closed trevorb1 closed 1 year ago

trevorb1 commented 1 year ago

Description

Update the environment file to lock otoole version and fix sklearn issue. Also, config/config.yaml is added to the .gitignore to prevent accidental overwriting.

Issue Ticket Number

Closes #140 and #146

Documentation

na

trevorb1 commented 1 year ago

Hi @tniet! This should fix the sklearn issue described in issue #140. Are you able to just give it a try on your machine though, please? Just want to make sure its not a fix for my setup only.

Steps to test:

  1. Checkout env-update branch
  2. Delete existing conda environment (conda env remove -n osemosys-global)
  3. Create environment from env file (conda env create -f workflow/envs/osemosys-global.yaml)
  4. Run workflow (snakemake -c)

Thanks so much! Please let me know if there are any errors!

tniet commented 1 year ago

@trevorb1: "Workflow finished successfully!" Works as expected! Well done!

trevorb1 commented 1 year ago

Thanks!