diff --git a/.github/workflows/build-dev.yml b/.github/workflows/build-dev.yml index 2e5d10f1..0ccd0c5c 100644 --- a/.github/workflows/build-dev.yml +++ b/.github/workflows/build-dev.yml @@ -45,7 +45,7 @@ jobs: - name: Push to development if: ${{ matrix.python-version == 3.12 }} run: | - cp -R target/* development + rsync -a --delete --exclude '.git/' target/ development/ cd development rm -rf build openMINDS.egg-info git config --global user.email "openminds@ebrains.eu" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ea13abaa..c045025e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,7 @@ jobs: - name: Push to main if: ${{ matrix.python-version == 3.12 }} run: | - cp -R target/* main + rsync -a --delete --exclude '.git/' target/ main/ cd main rm -rf build openMINDS.egg-info git config --global user.email "openminds@ebrains.eu" diff --git a/CHANGELOG.md b/CHANGELOG.md index 40e9b382..62b3772f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -53,3 +53,16 @@ For more detail see #29. - Added release candidate for openMINDS v4 - Nodes in a collection are now sorted by ID. + +## Release 0.3.1 (2025-09-09) + +- includes fixes and additions to instance library, including: + - replacement of MRAcquisitionType by MRSpatialEncoding + - the addition of a Marmoset brain atlas, and some other new instances + - improved consistency of @id paths, spelling corrections, improved term definitions +- more reliable export as JSON-LD: specifically when a property which expects a single value + has a list/tuple as a value, this would break JSON-LD export. + Now, although it is marked as a validation failure, this does not prevent export. +- addition of a `Link` class, to allow making reference to remote graph nodes defined by their `@id` + that are not present locally. +- improved CI testing: we now test v3 and v4, as well as "latest". diff --git a/build.py b/build.py index 18b44537..08352fc2 100644 --- a/build.py +++ b/build.py @@ -112,7 +112,7 @@ env = Environment(loader=FileSystemLoader(os.path.dirname(os.path.realpath(__file__))), autoescape=select_autoescape()) context = { - "version": "0.3.0", + "version": "0.3.1", } if args.branch == "development": context["version"] += ".dev" @@ -130,6 +130,7 @@ shutil.copy("pipeline/src/collection.py", "target/openminds/collection.py") shutil.copy("pipeline/src/README.md", "target/README.md") shutil.copy("./LICENSE", "target/LICENSE") +shutil.copy("./CHANGELOG.md", "target/CHANGELOG.md") # If we have a PyPI release for the current version, complete the codemeta.json template try: diff --git a/pipeline/src/codemeta.json b/pipeline/src/codemeta.json index 1d32f3a8..13a0423e 100644 --- a/pipeline/src/codemeta.json +++ b/pipeline/src/codemeta.json @@ -46,6 +46,12 @@ "@type": "Person", "givenName": "Louisa", "familyName": "Köhnen" + }, + { + "@type": "Person", + "@id": "https://orcid.org/0000-0002-5618-9776", + "givenName": "Raphaël", + "familyName": "Gazzotti" } ] }