From dd8df329eb5674d986a0ae3da83d366830f323f8 Mon Sep 17 00:00:00 2001 From: Ivan Ruiz Manuel <72193617+irm-codebase@users.noreply.github.com> Date: Fri, 3 Jul 2026 21:53:49 +0200 Subject: [PATCH 1/2] Run template update --- .copier-answers.yml | 17 +++++++++++------ AUTHORS | 1 + CITATION.cff | 7 ++++--- LICENSE | 2 +- README.md | 3 +-- pixi.toml | 17 +++++++++++------ 6 files changed, 29 insertions(+), 18 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 8da76ce..be12c08 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,13 +1,18 @@ # Changes here will be overwritten by Copier # !!!!! DO NOT MANUALLY MODIFY THIS FILE !!!!! -_commit: v1.0.2 +_commit: v1.0.3 _src_path: https://github.com/modelblocks-org/data-module-template.git -author_email: j.a.c.launer@tudelft.nl -author_family_name: Launer -author_given_name: Jann +authors: +- email: j.a.c.launer@tudelft.nl + family_name: Launer + given_name: Jann github_org: modelblocks-org license: Apache-2.0 +maintainers: +- email: j.a.c.launer@tudelft.nl + family_name: Launer + given_name: Jann +module_code_name: module_demand_electricity module_description: This module prepares electricity demand timeseries for Europe at arbitrary resolution -module_long_name: Data module for electricity demand in Europe -module_short_name: module_demand_electricity +module_human_name: European electricity demand diff --git a/AUTHORS b/AUTHORS index 14ef082..2db8cd4 100644 --- a/AUTHORS +++ b/AUTHORS @@ -2,6 +2,7 @@ This is the list of contributors for copyright purposes. This does not necessarily list everyone who has contributed to this software's code or documentation. For a full contributor list, see: + Jann Launer, diff --git a/CITATION.cff b/CITATION.cff index aa3a70a..14d6879 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -3,9 +3,10 @@ # https://citation-file-format.github.io/ cff-version: 1.2.0 message: If you use this software or data produced by it, please cite it using the metadata from this file. -title: "Modelblocks - module_demand_electricity: Data module for electricity demand in Europe" +title: "Modelblocks - module_demand_electricity: European electricity demand" repository: "https://github.com/modelblocks-org/module_demand_electricity" license: Apache-2.0 authors: - - given-names: Jann - family-names: Launer + - given-names: "Jann" + family-names: "Launer" + email: "j.a.c.launer@tudelft.nl" diff --git a/LICENSE b/LICENSE index 3946dd7..261eeb9 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2026 AUTHORS + Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index 09f764c..2628e91 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,8 @@ -# Data module for electricity demand in Europe +# European electricity demand This module prepares electricity demand timeseries for Europe at arbitrary resolution, based on ENTSO-E historical load data. -

diff --git a/pixi.toml b/pixi.toml index 8d1d1eb..822035a 100644 --- a/pixi.toml +++ b/pixi.toml @@ -52,9 +52,14 @@ cmd = "pixi workspace export conda-environment --environment '{{ env }}' '{{ out [tasks._export-snakemake-pin] description = "Export one Pixi environment/platform as a Snakemake-compatible pin file" -args = ["env", "platform", { arg = "outdir", default = "workflow/envs" }] -cmd = """ -set -e -pixi workspace export conda-explicit-spec --environment '{{ env }}' --platform '{{ platform }}' '{{ outdir }}' -mv '{{ outdir }}/{{ env }}_{{ platform }}_conda_spec.txt' '{{ outdir }}/{{ env }}.{{ platform }}.pin.txt' -""" +args = ["env", "platform", "outdir"] +depends-on = [ + { task = "_export-conda-explicit-spec", args = ["{{ env }}", "{{ platform }}", "{{ outdir }}"] }, +] +cmd = "mv '{{ outdir }}/{{ env }}_{{ platform }}_conda_spec.txt' '{{ outdir }}/{{ env }}.{{ platform }}.pin.txt'" + +[tasks._export-conda-explicit-spec] +description = "Export one Pixi environment/platform as an explicit conda spec file" +args = ["env", "platform", "outdir"] +cmd = "pixi workspace export conda-explicit-spec --environment '{{ env }}' --platform '{{ platform }}' '{{ outdir }}'" + From c13c283040f442c394481e885b2fb96000b2c0b2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 3 Jul 2026 19:54:55 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pixi.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pixi.toml b/pixi.toml index 822035a..7aac49e 100644 --- a/pixi.toml +++ b/pixi.toml @@ -62,4 +62,3 @@ cmd = "mv '{{ outdir }}/{{ env }}_{{ platform }}_conda_spec.txt' '{{ outdir }}/{ description = "Export one Pixi environment/platform as an explicit conda spec file" args = ["env", "platform", "outdir"] cmd = "pixi workspace export conda-explicit-spec --environment '{{ env }}' --platform '{{ platform }}' '{{ outdir }}'" -