Skip to content

Commit a2c4f63

Browse files
committed
fixed problem with session attribute being incorrectly formatted which resulted in error for python 3.9+
1 parent f2629b9 commit a2c4f63

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ requires = ["setuptools >= 46.4.0", "versioningit"]
33
build-backend = "setuptools.build_meta"
44

55
[tool.versioningit]
6+
default-version = "0+unknown"

tests/experiment/test_experiment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def main():
5252

5353
# test add session to graph and associate with project
5454
session = Session(project)
55-
session.add_attributes({Constants.NIDM: "test"})
55+
session.add_attributes({Constants.NIDM["test"]: "test"})
5656
# project.add_sessions(session)
5757

5858
# test add MR acquisition activity / entity to graph and associate with session

0 commit comments

Comments
 (0)