Skip to content

Commit b3c3b79

Browse files
committed
Merge branch 'feature/replace_resource_ids_transformation' of https://github.com/ghga-de/metldata into clean_up
2 parents 6029af9 + 5a04709 commit b3c3b79

File tree

2 files changed

+2
-17
lines changed
  • src/metldata/builtin_transformations/rename_id_property
  • tests/fixtures/example_workflows/rename_id_property_multiple

2 files changed

+2
-17
lines changed

src/metldata/builtin_transformations/rename_id_property/config.py

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
# Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
17-
# for the German Human Genome-Phenome Archive (GHGA)
18-
#
19-
# Licensed under the Apache License, Version 2.0 (the "License");
20-
# you may not use this file except in compliance with the License.
21-
# You may obtain a copy of the License at
22-
#
23-
# http://www.apache.org/licenses/LICENSE-2.0
24-
#
25-
# Unless required by applicable law or agreed to in writing, software
26-
# distributed under the License is distributed on an "AS IS" BASIS,
27-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
28-
# See the License for the specific language governing permissions and
29-
# limitations under the License.
30-
31-
"""Models for the configuration used in the 'rename id property' transformation."""
16+
"""Models for instructions used in the 'rename id property' transformation."""
3217

3318
from pydantic import Field
3419
from pydantic_settings import BaseSettings

tests/fixtures/example_workflows/rename_id_property_multiple/workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
operations:
22
# Rename id property with accession
33
- name: rename_id_property
4-
description: "Rename id property for each {{ class_name }}"
4+
description: "Rename id property for {{ class_name }}"
55
args:
66
class_name: "{{{ item.class_name }}}"
77
id_property_name: "{{{ item.id_property_name }}}"

0 commit comments

Comments
 (0)