rl-institut / oemof-B3

An open-source energy system model for Brandenburg/Berlin.
https://oemof-b3.readthedocs.io/
GNU Affero General Public License v3.0
9 stars 5 forks source link

Add oem2orm to poetry #342

Closed MaGering closed 1 year ago

MaGering commented 1 year ago

This rule upload_results_to_oep needs the package oem2orm. So far it has been listed in the extra requirements of poetry (cf. here).

However this info is not given anywhere in the documentation. But more severe is that the prompt poetry install -E upload_results_to_oep leads to No dependencies to install or update.. It can not be installed via the extra requirements.

That's why with this PR oem2orm is added to the main dependencies.

To be tested with:

snakemake -j1 results/2050-80-el_eff/b3_results/metadata
snakemake -j1 results/2050-80-gas_moreCH4/b3_results/metadata
snakemake -j1 results/2050-95-el_eff/b3_results/metadata
snakemake -j1 results/2050-95-gas_moreCH4/b3_results/metadata
snakemake -j1 results/2050-100-el_eff/b3_results/metadata
snakemake -j1 results/2050-100-gas_moreCH4/b3_results/metadata
MaGering commented 1 year ago

Outdated: Again checks not working due to problem described in my comment here. Hence this PR should be merged after https://github.com/rl-institut/oemof-B3/pull/336.

Checks pass as of the state of commit https://github.com/rl-institut/oemof-B3/pull/342/commits/911f4047b2800a23cae0fb41ff5047babd7c12c6.