diff --git a/.coveragerc b/.coveragerc index 38ed70c..8b25d7a 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,4 +1,4 @@ [run] omit = - bam_data_store/_version.py + bam_masterdata/_version.py */__init__.py \ No newline at end of file diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 82df73e..99eb97b 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -34,10 +34,10 @@ jobs: uv pip install -e '.[dev]' - name: mypy run: | - python -m mypy --ignore-missing-imports --follow-imports=silent --no-strict-optional --exclude dependencies bam_data_store tests + python -m mypy --ignore-missing-imports --follow-imports=silent --no-strict-optional --exclude dependencies bam_masterdata tests - name: Test with pytest run: | - python -m pytest -sv --ignore=bam_data_store/dependencies tests + python -m pytest -sv --ignore=bam_masterdata/dependencies tests build-and-install: runs-on: ubuntu-latest steps: @@ -62,11 +62,11 @@ jobs: - uses: actions/checkout@v4 - uses: chartboost/ruff-action@v1 with: - args: "check . --exclude bam_data_store/dependencies" + args: "check . --exclude bam_masterdata/dependencies" ruff-formatting: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: chartboost/ruff-action@v1 with: - args: "format . --check --verbose --exclude bam_data_store/dependencies" \ No newline at end of file + args: "format . --check --verbose --exclude bam_masterdata/dependencies" \ No newline at end of file diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index eb51531..fd52b28 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -30,7 +30,7 @@ jobs: uv pip install coveralls - name: Build coverage file run: | - pytest --cov-config=.coveragerc --junitxml=pytest.xml --cov=bam_data_store tests | tee pytest-coverage.txt + pytest --cov-config=.coveragerc --junitxml=pytest.xml --cov=bam_masterdata tests | tee pytest-coverage.txt - name: Pytest coverage comment uses: MishaKav/pytest-coverage-comment@main with: diff --git a/.gitignore b/.gitignore index 6cabf4c..1dda6bb 100644 --- a/.gitignore +++ b/.gitignore @@ -169,9 +169,9 @@ cython_debug/ # Ruff .ruff_cache -# static artifacts -artifacts - # pytest coverage pytest.xml -pytest-coverage.txt \ No newline at end of file +pytest-coverage.txt + +# artifacts +artifacts \ No newline at end of file diff --git a/.gitmodules b/.gitmodules index d59ac33..25664af 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "bam_data_store/dependencies/openbisschema"] - path = bam_data_store/dependencies/openbisschema +[submodule "bam_masterdata/dependencies/openbisschema"] + path = bam_masterdata/dependencies/openbisschema url = https://git.bam.de/bam-data-store/development/openbisschema.git diff --git a/.vscode/settings.json b/.vscode/settings.json index 806496d..43caab4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -33,7 +33,7 @@ "type": "debugpy", "request": "launch", "console": "integratedTerminal", - "program": "${workspaceFolder}/src/bam_data_store/app.py", // path to your entry point Python module + "program": "${workspaceFolder}/src/bam_masterdata/app.py", // path to your entry point Python module }, { "name": "bds tests", @@ -51,11 +51,11 @@ ] }, { - "name": "bds export-entities-to-json", + "name": "bds export-to-json", "type": "debugpy", "request": "launch", "cwd": "${workspaceFolder}", - "program": "${workspaceFolder}/.venv/bin/bam_data_store", + "program": "${workspaceFolder}/.venv/bin/bam_masterdata", "justMyCode": false, "args": ["export-entities-to-json"] }, @@ -64,7 +64,7 @@ "type": "debugpy", "request": "launch", "cwd": "${workspaceFolder}", - "program": "${workspaceFolder}/.venv/bin/bam_data_store", + "program": "${workspaceFolder}/.venv/bin/bam_masterdata", "justMyCode": false, "args": ["export-entities-to-excel"] }, diff --git a/README.md b/README.md index e068e91..68d8e5f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ -# BAMDataStore - -This is the main repository of the BAM Data Store project. This is both a Python package and a web connecting the different resources for the Data Store. +# BAM Masterdata +The BAM Masterdata is a repository containing all the masterdata schema defining in BAM, as well as some utility functions to handle the masterdata.