Commit Graph

95 Commits

Author SHA1 Message Date
Fabian Hofmann
60725940ad
Merge branch 'master' into dedicated-shared-resource 2024-03-20 12:42:07 +01:00
Fabian
23e1139c21 snakefile + helpers: separate scenario and rdir getter 2024-03-19 09:39:35 +01:00
Fabian
2565a7db4f snakefile: move copy_default_files and process_run_config to helpers 2024-03-19 08:30:20 +01:00
Fabian
f3eae37a02 scneario management: reenable shared resources in one folder 2024-03-18 19:41:35 +01:00
Fabian Neumann
3a54653711 fix shared resources for scenario management with {kind} wildcard 2024-03-15 13:50:27 +01:00
Fabian Neumann
0d6ba9fbd1 move leap year handling into helper function 2024-03-14 15:15:56 +01:00
Fabian Neumann
d983d79ed2 Merge branch 'master' into snakemake-8 2024-03-08 17:50:08 +01:00
Fabian Neumann
719d4dad23 Merge branch 'master' into scenario-management 2024-02-20 12:08:54 +01:00
Fabian Neumann
16e2286188 update copyright years to 2024 2024-02-19 16:21:48 +01:00
Fabian Neumann
df0eb38a68 _helpers: generalise regular expression in find_opt 2024-02-17 23:38:59 +01:00
Fabian Neumann
9f643ea429 _helpers: add inplace keyword argument to update_config_from_wildcards 2024-02-17 20:45:44 +01:00
Fabian Neumann
e898781fda use wildcard input functions where applicable 2024-02-17 18:35:26 +01:00
Fabian Neumann
95853bb59d _helpers: allow specifying dedicated shared_resources folder 2024-02-17 18:27:59 +01:00
Fabian Neumann
84c3852c2e _helpers: remove resource folder separation by wildcard
This was not working reliably as the number of input and output wildcards could vary, which the function did not acknowledge
2024-02-17 18:15:43 +01:00
Fabian Neumann
db7c983950 mock_snakemake: remove dangeours empty list as default argument 2024-02-17 18:14:18 +01:00
Fabian Neumann
35b2228891 Merge branch 'wc-to-cf' into scenario-management 2024-02-17 17:16:28 +01:00
Fabian Neumann
dd2416a59e handle all {opts} and {sector_opts} wildcard values in config 2024-02-17 11:57:16 +01:00
Fabian Neumann
16e42c8fe6 further progress and bugfixes 2024-02-16 11:17:00 +01:00
Fabian Neumann
6de08bd523 Merge branch 'master' into scenario-management 2024-02-10 17:22:01 +01:00
Fabian Neumann
3691f9f4c1 update version compatibility handling 2024-02-09 13:59:15 +01:00
Fabian
1ffb28b3fc helpers: parse: fix docstring and take original implementation 2024-01-19 12:23:29 +01:00
Fabian
025688bf70 refactor and fix remaining linting problems 2024-01-19 12:17:45 +01:00
Fabian
f876d78ed4 fix linting: run ruff 2024-01-19 12:17:45 +01:00
pre-commit-ci[bot]
35f1c06f75 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-01-18 13:18:28 +00:00
euronion
ecb0a1f79f Log unhandled exceptions stacktraces in log files 2024-01-18 14:12:17 +01:00
pre-commit-ci[bot]
21a223262f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-01-16 15:53:18 +00:00
Michael Lindner
3f8a55992c locate project dir if pypsa-eur is a submodule 2024-01-16 16:50:54 +01:00
Fabian Neumann
83ecaac4de
Merge branch 'master' into wildcard-opts-config 2024-01-03 13:08:21 +01:00
Fabian Neumann
98e47eab3c mock_snakemake: adjust to snakemake version 8 2023-12-31 13:00:21 +01:00
pre-commit-ci[bot]
de3b6c9573 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-12-29 11:38:43 +00:00
Fabian Neumann
71985d5e3a validate checksums for zenodo downloads 2023-12-29 12:34:14 +01:00
Fabian
75e66be571 helpers: adjust mock_snakemake to be callable with different root dirs 2023-10-31 12:09:39 +01:00
Sourcery AI
3c36c60bdd 'Refactored by Sourcery' 2023-10-08 09:20:36 +00:00
pre-commit-ci[bot]
d75b0ae8ab [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-28 19:11:54 +00:00
virio-andreyana
a3a7e19b07 add finishing touches 2023-09-28 21:11:22 +02:00
pre-commit-ci[bot]
3eed341044 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-11 21:04:00 +00:00
virio-andreyana
823df52309 add backward compatible config in wildcards 2023-09-11 22:51:31 +02:00
Fabian
04a2bea176 scenario-management: use list for including wildcards with shared resource 2023-08-24 13:20:11 +02:00
Fabian
62c6143863 scenario-management: reenable shared resources, make shared resources wildcards dependent 2023-08-23 17:14:57 +02:00
Fabian
7b9ab155f4 helpers: fix condition in set_scenario_config
prepare_sector: insert set_scenario_config
2023-08-22 18:15:50 +02:00
Fabian
1810bbd4b3 make set_scenario_config robust against mock_snakemake and subworkflow 2023-08-21 12:24:27 +02:00
Fabian
91eff472a7 scenario-management: fix set_scenario_config function; apply config_provider to some direct inputs 2023-08-17 12:31:07 +02:00
Fabian
e28ae59375 introduce scenario-management 2023-08-15 15:06:59 +02:00
Fabian Neumann
a0366fb2bc
Merge branch 'master' into multilinks-default 2023-07-18 14:05:57 +02:00
Fabian
f566142d38 cluster network: update to new clustering module (pypsa v0.25) 2023-07-14 15:47:41 +02:00
Fabian Neumann
b110810669 no more override_component_attrs for multilinks 2023-07-13 22:31:55 +02:00
Fabian
2f3005e555 use pypsa.clustering.spatial namespace 2023-06-29 15:37:29 +02:00
Fabian Hofmann
862e54770f
Merge branch 'master' into post-merge-param 2023-06-14 10:11:26 +02:00
pre-commit-ci[bot]
0f09545d96 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-22 21:56:31 +00:00
virio-andreyana
1fc48d8753
using python algorithm to edit rules and script 2023-05-15 10:33:17 +02:00