From 7f069b6a3c891c656896318eb6b931016c9d9dfd Mon Sep 17 00:00:00 2001 From: Ivan Ruiz Manuel <72193617+irm-codebase@users.noreply.github.com> Date: Fri, 3 Jul 2026 20:48:46 +0200 Subject: [PATCH 1/2] run update --- .copier-answers.yml | 17 +++++++++++------ AUTHORS | 2 ++ CITATION.cff | 8 +++++--- LICENSE | 2 +- README.md | 2 +- pixi.toml | 17 +++++++++++------ 6 files changed, 31 insertions(+), 17 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index e008ab1..9d3245a 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: i.ruizmanuel@tudelft.nl -author_family_name: Ruiz Manuel -author_given_name: Ivan +authors: +- email: i.ruizmanuel@tudelft.nl + family_name: Ruiz Manuel + given_name: Ivan github_org: modelblocks-org license: Apache-2.0 +maintainers: +- email: i.ruizmanuel@tudelft.nl + family_name: Ruiz Manuel + given_name: Ivan +module_code_name: module_powerplants module_description: A data module to estimate global powerplant capacities for any region in the world at any resolution. -module_long_name: Powerplants module -module_short_name: module_powerplants +module_human_name: Powerplants diff --git a/AUTHORS b/AUTHORS index d293891..efbcd99 100644 --- a/AUTHORS +++ b/AUTHORS @@ -2,6 +2,8 @@ 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: + Ivan Ruiz Manuel, + diff --git a/CITATION.cff b/CITATION.cff index d8051f7..d923cbc 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -3,9 +3,11 @@ # 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_powerplants: Powerplants module" +title: "Modelblocks - module_powerplants: Powerplants" repository: "https://github.com/modelblocks-org/module_powerplants" license: Apache-2.0 authors: - - given-names: Ivan - family-names: Ruiz Manuel + - given-names: "Ivan" + family-names: "Ruiz Manuel" + email: "i.ruizmanuel@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 ea36240..c14162a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Powerplants module +# Powerplants A data module to estimate global powerplant capacities for any region in the world at any resolution. diff --git a/pixi.toml b/pixi.toml index 9c9dc66..4822643 100644 --- a/pixi.toml +++ b/pixi.toml @@ -61,9 +61,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 9cc0591c6c5681ba26c6b89bba7407d2d731e432 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 18:51:44 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- AUTHORS | 1 - CITATION.cff | 1 - pixi.toml | 1 - 3 files changed, 3 deletions(-) diff --git a/AUTHORS b/AUTHORS index efbcd99..2d8f137 100644 --- a/AUTHORS +++ b/AUTHORS @@ -6,4 +6,3 @@ code or documentation. For a full contributor list, see: Ivan Ruiz Manuel, - diff --git a/CITATION.cff b/CITATION.cff index d923cbc..ddcdcc0 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -10,4 +10,3 @@ authors: - given-names: "Ivan" family-names: "Ruiz Manuel" email: "i.ruizmanuel@tudelft.nl" - diff --git a/pixi.toml b/pixi.toml index 4822643..4d5822b 100644 --- a/pixi.toml +++ b/pixi.toml @@ -71,4 +71,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 }}'" -