Skip to content

Commit 80ae784

Browse files
Merge pull request #60 from openMetadataInitiative/prepare-release
Prepare release of v0.3.1
2 parents 95ab414 + 6818a0d commit 80ae784

File tree

5 files changed

+23
-3
lines changed

5 files changed

+23
-3
lines changed

.github/workflows/build-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Push to development
4646
if: ${{ matrix.python-version == 3.12 }}
4747
run: |
48-
cp -R target/* development
48+
rsync -a --delete --exclude '.git/' target/ development/
4949
cd development
5050
rm -rf build openMINDS.egg-info
5151
git config --global user.email "[email protected]"

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Push to main
4646
if: ${{ matrix.python-version == 3.12 }}
4747
run: |
48-
cp -R target/* main
48+
rsync -a --delete --exclude '.git/' target/ main/
4949
cd main
5050
rm -rf build openMINDS.egg-info
5151
git config --global user.email "[email protected]"

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,16 @@ For more detail see #29.
5353

5454
- Added release candidate for openMINDS v4
5555
- Nodes in a collection are now sorted by ID.
56+
57+
## Release 0.3.1 (2025-09-09)
58+
59+
- includes fixes and additions to instance library, including:
60+
- replacement of MRAcquisitionType by MRSpatialEncoding
61+
- the addition of a Marmoset brain atlas, and some other new instances
62+
- improved consistency of @id paths, spelling corrections, improved term definitions
63+
- more reliable export as JSON-LD: specifically when a property which expects a single value
64+
has a list/tuple as a value, this would break JSON-LD export.
65+
Now, although it is marked as a validation failure, this does not prevent export.
66+
- addition of a `Link` class, to allow making reference to remote graph nodes defined by their `@id`
67+
that are not present locally.
68+
- improved CI testing: we now test v3 and v4, as well as "latest".

build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112

113113
env = Environment(loader=FileSystemLoader(os.path.dirname(os.path.realpath(__file__))), autoescape=select_autoescape())
114114
context = {
115-
"version": "0.3.0",
115+
"version": "0.3.1",
116116
}
117117
if args.branch == "development":
118118
context["version"] += ".dev"
@@ -130,6 +130,7 @@
130130
shutil.copy("pipeline/src/collection.py", "target/openminds/collection.py")
131131
shutil.copy("pipeline/src/README.md", "target/README.md")
132132
shutil.copy("./LICENSE", "target/LICENSE")
133+
shutil.copy("./CHANGELOG.md", "target/CHANGELOG.md")
133134

134135
# If we have a PyPI release for the current version, complete the codemeta.json template
135136
try:

pipeline/src/codemeta.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@
4646
"@type": "Person",
4747
"givenName": "Louisa",
4848
"familyName": "Köhnen"
49+
},
50+
{
51+
"@type": "Person",
52+
"@id": "https://orcid.org/0000-0002-5618-9776",
53+
"givenName": "Raphaël",
54+
"familyName": "Gazzotti"
4955
}
5056
]
5157
}

0 commit comments

Comments
 (0)