Skip to content

Commit

Permalink
Config fix for default transformations (#50)
Browse files Browse the repository at this point in the history
* config fix for overwritten default transformations

* version bump
  • Loading branch information
sbilge authored Jul 29, 2024
1 parent 1e9fefc commit 76722f3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pypi_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
call-pypi-publish:
uses: ghga-de/gh-action-pypi/.github/workflows/pypi_publish.yml@v2.0.0
with:
package_version: 2.2.0
package_version: 2.2.1
test_pypi: "false"
python_latest: false
secrets: inherit
2 changes: 1 addition & 1 deletion .pyproject_generation/pyproject_custom.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "ghga_transpiler"

version = "2.2.0"
version = "2.2.1"
description = "GHGA-Transpiler - excel to JSON converter"
dependencies = [
"typer >= 0.12",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ classifiers = [
"Intended Audience :: Developers",
]
name = "ghga_transpiler"
version = "2.2.0"
version = "2.2.1"
description = "GHGA-Transpiler - excel to JSON converter"
dependencies = [
"typer >= 0.12",
Expand Down
2 changes: 1 addition & 1 deletion src/ghga_transpiler/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from openpyxl.xml import DEFUSEDXML

__version__ = "2.2.0"
__version__ = "2.2.1"

if not DEFUSEDXML:
raise RuntimeError(
Expand Down
8 changes: 8 additions & 0 deletions src/ghga_transpiler/configs/2.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ worksheets:
!!python/object/apply:ghga_transpiler.transformations.to_attributes []
types:
!!python/object/apply:ghga_transpiler.transformations.to_snake_case_list []
attributes:
!!python/object/apply:ghga_transpiler.transformations.to_attributes []
sheet_name: Study
- settings:
end_column: 10
Expand Down Expand Up @@ -84,6 +86,8 @@ worksheets:
!!python/object/apply:ghga_transpiler.transformations.to_snake_case []
biospecimen_storage:
!!python/object/apply:ghga_transpiler.transformations.to_snake_case []
attributes:
!!python/object/apply:ghga_transpiler.transformations.to_attributes []
sheet_name: Sample
- settings:
end_column: 23
Expand Down Expand Up @@ -113,6 +117,8 @@ worksheets:
!!python/object/apply:ghga_transpiler.transformations.to_snake_case []
sequencing_layout:
!!python/object/apply:ghga_transpiler.transformations.to_snake_case []
attributes:
!!python/object/apply:ghga_transpiler.transformations.to_attributes []
sheet_name: ExperimentMethod
- settings:
end_column: 7
Expand All @@ -128,6 +134,8 @@ worksheets:
transformations:
experiments:
!!python/object/apply:ghga_transpiler.transformations.to_list []
format:
!!python/object/apply:ghga_transpiler.transformations.to_snake_case []
sheet_name: ResearchDataFile
- settings:
end_column: 7
Expand Down

0 comments on commit 76722f3

Please sign in to comment.