Skip to content

Commit 06ce828

Browse files
committed
Use openMINDS v4 instead of v3
Updates all imports from openminds.v3 to openminds.v4, updates Collection.load() calls to use version="v4", replaces v3 type/instance URLs (openminds.ebrains.eu) with v4 URLs (openminds.om-i.org) in test files, and regenerates the reference JSON-LD fixtures.
1 parent 6f41b21 commit 06ce828

10 files changed

Lines changed: 2018 additions & 1900 deletions

bids2openminds/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
import pandas as pd
77
from nameparser import HumanName
88

9-
import openminds.v3.core as omcore
10-
import openminds.v3.controlled_terms as controlled_terms
9+
import openminds.v4.core as omcore
10+
import openminds.v4.controlled_terms as controlled_terms
1111
from openminds import IRI
1212

1313
from .utility import table_filter, pd_table_value, file_hash, file_storage_size, detect_nifti_version

bids2openminds/utility.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77

88
import pandas as pd
99

10-
import openminds.v3.controlled_terms as controlled_terms
11-
from openminds.v3.core import Hash, QuantitativeValue, ContentType
12-
from openminds.v3.controlled_terms import UnitOfMeasurement
10+
import openminds.v4.controlled_terms as controlled_terms
11+
from openminds.v4.core import Hash, QuantitativeValue, ContentType
12+
from openminds.v4.controlled_terms import UnitOfMeasurement
1313

1414

1515
def read_json(file_path: str) -> dict:

0 commit comments

Comments
 (0)