Skip to content

Commit

Permalink
Merge pull request #24 from linkml/rename-issue-22
Browse files Browse the repository at this point in the history
rename
  • Loading branch information
cmungall authored Apr 11, 2024
2 parents 2e11448 + 03a0097 commit 3ab51d2
Show file tree
Hide file tree
Showing 68 changed files with 478 additions and 1,765 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ main ]

paths:
- 'src/linkml_transformer/datamodel.yaml'
- 'src/linkml_map/datamodel.yaml'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,3 @@ jobs:
- name: Install library
run: poetry install --no-interaction

#----------------------------------------------
# run tests and generate coverage report
#----------------------------------------------
- name: Run tests
run: poetry run pytest --cov=src/linkml_transformer --cov-report=xml -rP tests/

#----------------------------------------------
# upload coverage results
#----------------------------------------------
- name: Upload coverage report
uses: codecov/codecov-action@v3
with:
name: codecov-results-${{ matrix.python-version }}
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
fail_ci_if_error: true
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ all: gen-project gendoc
deploy: all mkd-gh-deploy

# TODO: make this default
src/linkml_transformer/datamodel/transformer_model.py: src/linkml_transformer/datamodel/transformer_model.yaml
src/linkml_map/datamodel/transformer_model.py: src/linkml_map/datamodel/transformer_model.yaml
$(RUN) gen-pydantic --pydantic-version 2 $< > $@.tmp && mv $@.tmp $@

# generates all project files
# TODO: combine pydantic into this step
gen-project: $(PYMODEL) src/linkml_transformer/datamodel/transformer_model.py
$(RUN) gen-project -d $(DEST) $(SOURCE_SCHEMA_PATH)
gen-project: $(PYMODEL) src/linkml_map/datamodel/transformer_model.py
$(RUN) gen-project -X sqltable -d $(DEST) $(SOURCE_SCHEMA_PATH)

test: test-python doctest
test-python:
Expand Down
22 changes: 9 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
# linkml-transformer
# linkml-map

THIS PACKAGE HAS BEEN RENAMED
[![Pyversions](https://img.shields.io/pypi/pyversions/linkml-map.svg)](https://pypi.python.org/pypi/linkml-map)
![](https://github.com/linkml/linkml-map/workflows/Build/badge.svg)
[![PyPi](https://img.shields.io/pypi/v/linkml-map.svg)](https://pypi.python.org/pypi/linkml-map)
[![codecov](https://codecov.io/gh/linkml/linkml-map/branch/main/graph/badge.svg?token=WNQNG986UN)](https://codecov.io/gh/linkml/linkml-map)

It is now called linkml-map: https://pypi.org/project/linkml-map/

[![Pyversions](https://img.shields.io/pypi/pyversions/linkml-transformer.svg)](https://pypi.python.org/pypi/linkml-transformer)
![](https://github.com/linkml/linkml-transformer/workflows/Build/badge.svg)
[![PyPi](https://img.shields.io/pypi/v/linkml-transformer.svg)](https://pypi.python.org/pypi/linkml-transformer)
[![codecov](https://codecov.io/gh/linkml/linkml-transformer/branch/main/graph/badge.svg?token=WNQNG986UN)](https://codecov.io/gh/linkml/linkml-transformer)

LinkML Transformer is a framework for specifying and executing mappings between data models.
LinkML Map is a framework for specifying and executing mappings between data models.

Features:

Expand All @@ -25,7 +21,7 @@ Features:

For full documentation see:

- [linkml.io/linkml-transformer/](https://linkml.io/linkml-transformer/)
- [linkml.io/linkml-map/](https://linkml.io/linkml-map/)

Status:

Expand All @@ -35,6 +31,6 @@ Not all parts of the model are implemented in the reference Python framework.
## Quickstart

* [Tutorial Notebook](src/docs/examples/Tutorial.ipynb)
* [Generated Docs](https://linkml.github.io/linkml-transformer/)
* [Compliance Suite](https://linkml.github.io/linkml-transformer/specification/compliance)
* [Generated Docs](https://linkml.github.io/linkml-map/)
* [Compliance Suite](https://linkml.github.io/linkml-map/specification/compliance)

4 changes: 2 additions & 2 deletions about.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: linkml_transformer
name: linkml_map
description: Datamodel for schema transformations
source_schema_path: src/linkml_transformer/datamodel/transformer_model.yaml
source_schema_path: src/linkml_map/datamodel/transformer_model.yaml
8 changes: 5 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
site_name: "LinkML-Transformer"
site_name: "LinkML-Map"
theme:
# name: material
name: windmill
Expand All @@ -13,9 +13,11 @@ nav:
- Index: index.md
- Examples:
Tutorial: examples/Tutorial.ipynb
Compilation to SQL: examples/Tutorial-SQLCompiler.ipynb
Metamodel Mapping: examples/MetamodelMapping.ipynb
- Specification:
Data Model: datamodel.md
Compliance Suite: specification/compliance.md
- FAQ: faq.md
site_url: https://linkml.github.io/linkml-transformer/
repo_url: https://github.com/linkml/linkml-transformer/
site_url: https://linkml.github.io/linkml-map/
repo_url: https://github.com/linkml/linkml-map/
Loading

0 comments on commit 3ab51d2

Please sign in to comment.