Skip to content

Commit 9050722

Browse files
committed
Use openMINDS v4 rather than "latest"
1 parent a71145c commit 9050722

File tree

224 files changed

+2741
-2897
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

224 files changed

+2741
-2897
lines changed

builder/update_openminds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
from jinja2 import Environment, select_autoescape, FileSystemLoader
1313

14-
OPENMINDS_VERSION = "latest"
14+
OPENMINDS_VERSION = "v4"
1515

1616

1717
global_aliases = {

fairgraph/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
if TYPE_CHECKING:
3030
from .client import KGClient
3131

32-
OPENMINDS_VERSION = "latest"
32+
OPENMINDS_VERSION = "v4"
3333

3434
logger = logging.getLogger("fairgraph")
3535

fairgraph/openminds/chemicals/amount_of_chemical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# this file was auto-generated
66

77
from openminds.properties import Property
8-
from openminds.latest.chemicals import AmountOfChemical as OMAmountOfChemical
8+
from openminds.v4.chemicals import AmountOfChemical as OMAmountOfChemical
99
from fairgraph import EmbeddedMetadata
1010

1111

fairgraph/openminds/chemicals/chemical_mixture.py

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# this file was auto-generated
66

77
from openminds.properties import Property
8-
from openminds.latest.chemicals import ChemicalMixture as OMChemicalMixture
8+
from openminds.v4.chemicals import ChemicalMixture as OMChemicalMixture
99
from fairgraph import KGObject
1010

1111

@@ -20,11 +20,7 @@ class ChemicalMixture(KGObject, OMChemicalMixture):
2020
reverse_properties = [
2121
Property(
2222
"composes",
23-
[
24-
"openminds.latest.ephys.Electrode",
25-
"openminds.latest.ephys.ElectrodeArray",
26-
"openminds.latest.ephys.Pipette",
27-
],
23+
["openminds.v4.ephys.Electrode", "openminds.v4.ephys.ElectrodeArray", "openminds.v4.ephys.Pipette"],
2824
["insulatorMaterial", "material"],
2925
reverse=["insulator_material", "material"],
3026
multiple=True,
@@ -33,10 +29,10 @@ class ChemicalMixture(KGObject, OMChemicalMixture):
3329
Property(
3430
"used_in",
3531
[
36-
"openminds.latest.ephys.CellPatching",
37-
"openminds.latest.ephys.PipetteUsage",
38-
"openminds.latest.specimen_prep.TissueCulturePreparation",
39-
"openminds.latest.specimen_prep.TissueSampleSlicing",
32+
"openminds.v4.ephys.CellPatching",
33+
"openminds.v4.ephys.PipetteUsage",
34+
"openminds.v4.specimen_prep.TissueCulturePreparation",
35+
"openminds.v4.specimen_prep.TissueSampleSlicing",
4036
],
4137
["cultureMedium", "pipetteSolution", "tissueBathSolution"],
4238
reverse=["culture_medium", "pipette_solution", "tissue_bath_solution"],

fairgraph/openminds/chemicals/chemical_substance.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# this file was auto-generated
66

77
from openminds.properties import Property
8-
from openminds.latest.chemicals import ChemicalSubstance as OMChemicalSubstance
8+
from openminds.v4.chemicals import ChemicalSubstance as OMChemicalSubstance
99
from fairgraph import KGObject
1010

1111

@@ -20,19 +20,15 @@ class ChemicalSubstance(KGObject, OMChemicalSubstance):
2020
reverse_properties = [
2121
Property(
2222
"composes",
23-
[
24-
"openminds.latest.ephys.Electrode",
25-
"openminds.latest.ephys.ElectrodeArray",
26-
"openminds.latest.ephys.Pipette",
27-
],
23+
["openminds.v4.ephys.Electrode", "openminds.v4.ephys.ElectrodeArray", "openminds.v4.ephys.Pipette"],
2824
["insulatorMaterial", "material"],
2925
reverse=["insulator_material", "material"],
3026
multiple=True,
3127
description="reverse of insulator_material, material",
3228
),
3329
Property(
3430
"labels",
35-
"openminds.latest.ephys.PipetteUsage",
31+
"openminds.v4.ephys.PipetteUsage",
3632
"labelingCompound",
3733
reverse="labeling_compound",
3834
multiple=True,

fairgraph/openminds/chemicals/product_source.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# this file was auto-generated
66

77
from openminds.properties import Property
8-
from openminds.latest.chemicals import ProductSource as OMProductSource
8+
from openminds.v4.chemicals import ProductSource as OMProductSource
99
from fairgraph import KGObject
1010

1111

@@ -20,7 +20,7 @@ class ProductSource(KGObject, OMProductSource):
2020
reverse_properties = [
2121
Property(
2222
"is_source_of",
23-
["openminds.latest.chemicals.ChemicalMixture", "openminds.latest.chemicals.ChemicalSubstance"],
23+
["openminds.v4.chemicals.ChemicalMixture", "openminds.v4.chemicals.ChemicalSubstance"],
2424
"productSource",
2525
reverse="product_source",
2626
multiple=True,

fairgraph/openminds/computation/data_analysis.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# this file was auto-generated
66

77
from openminds.properties import Property
8-
from openminds.latest.computation import DataAnalysis as OMDataAnalysis
8+
from openminds.v4.computation import DataAnalysis as OMDataAnalysis
99
from fairgraph import KGObject
1010

1111

@@ -24,13 +24,13 @@ class DataAnalysis(KGObject, OMDataAnalysis):
2424
Property(
2525
"informed",
2626
[
27-
"openminds.latest.computation.DataAnalysis",
28-
"openminds.latest.computation.DataCopy",
29-
"openminds.latest.computation.GenericComputation",
30-
"openminds.latest.computation.ModelValidation",
31-
"openminds.latest.computation.Optimization",
32-
"openminds.latest.computation.Simulation",
33-
"openminds.latest.computation.Visualization",
27+
"openminds.v4.computation.DataAnalysis",
28+
"openminds.v4.computation.DataCopy",
29+
"openminds.v4.computation.GenericComputation",
30+
"openminds.v4.computation.ModelValidation",
31+
"openminds.v4.computation.Optimization",
32+
"openminds.v4.computation.Simulation",
33+
"openminds.v4.computation.Visualization",
3434
],
3535
"wasInformedBy",
3636
reverse="was_informed_by",
@@ -39,7 +39,7 @@ class DataAnalysis(KGObject, OMDataAnalysis):
3939
),
4040
Property(
4141
"is_part_of",
42-
"openminds.latest.computation.WorkflowExecution",
42+
"openminds.v4.computation.WorkflowExecution",
4343
"stage",
4444
reverse="stages",
4545
multiple=True,

fairgraph/openminds/computation/data_copy.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# this file was auto-generated
66

77
from openminds.properties import Property
8-
from openminds.latest.computation import DataCopy as OMDataCopy
8+
from openminds.v4.computation import DataCopy as OMDataCopy
99
from fairgraph import KGObject
1010

1111

@@ -24,13 +24,13 @@ class DataCopy(KGObject, OMDataCopy):
2424
Property(
2525
"informed",
2626
[
27-
"openminds.latest.computation.DataAnalysis",
28-
"openminds.latest.computation.DataCopy",
29-
"openminds.latest.computation.GenericComputation",
30-
"openminds.latest.computation.ModelValidation",
31-
"openminds.latest.computation.Optimization",
32-
"openminds.latest.computation.Simulation",
33-
"openminds.latest.computation.Visualization",
27+
"openminds.v4.computation.DataAnalysis",
28+
"openminds.v4.computation.DataCopy",
29+
"openminds.v4.computation.GenericComputation",
30+
"openminds.v4.computation.ModelValidation",
31+
"openminds.v4.computation.Optimization",
32+
"openminds.v4.computation.Simulation",
33+
"openminds.v4.computation.Visualization",
3434
],
3535
"wasInformedBy",
3636
reverse="was_informed_by",
@@ -39,7 +39,7 @@ class DataCopy(KGObject, OMDataCopy):
3939
),
4040
Property(
4141
"is_part_of",
42-
"openminds.latest.computation.WorkflowExecution",
42+
"openminds.v4.computation.WorkflowExecution",
4343
"stage",
4444
reverse="stages",
4545
multiple=True,

fairgraph/openminds/computation/environment.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# this file was auto-generated
66

77
from openminds.properties import Property
8-
from openminds.latest.computation import Environment as OMEnvironment
8+
from openminds.v4.computation import Environment as OMEnvironment
99
from fairgraph import KGObject
1010

1111

@@ -21,14 +21,14 @@ class Environment(KGObject, OMEnvironment):
2121
Property(
2222
"used_for",
2323
[
24-
"openminds.latest.computation.DataAnalysis",
25-
"openminds.latest.computation.DataCopy",
26-
"openminds.latest.computation.GenericComputation",
27-
"openminds.latest.computation.ModelValidation",
28-
"openminds.latest.computation.Optimization",
29-
"openminds.latest.computation.Simulation",
30-
"openminds.latest.computation.SoftwareAgent",
31-
"openminds.latest.computation.Visualization",
24+
"openminds.v4.computation.DataAnalysis",
25+
"openminds.v4.computation.DataCopy",
26+
"openminds.v4.computation.GenericComputation",
27+
"openminds.v4.computation.ModelValidation",
28+
"openminds.v4.computation.Optimization",
29+
"openminds.v4.computation.Simulation",
30+
"openminds.v4.computation.SoftwareAgent",
31+
"openminds.v4.computation.Visualization",
3232
],
3333
"environment",
3434
reverse="environment",

fairgraph/openminds/computation/generic_computation.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# this file was auto-generated
66

77
from openminds.properties import Property
8-
from openminds.latest.computation import GenericComputation as OMGenericComputation
8+
from openminds.v4.computation import GenericComputation as OMGenericComputation
99
from fairgraph import KGObject
1010

1111

@@ -24,13 +24,13 @@ class GenericComputation(KGObject, OMGenericComputation):
2424
Property(
2525
"informed",
2626
[
27-
"openminds.latest.computation.DataAnalysis",
28-
"openminds.latest.computation.DataCopy",
29-
"openminds.latest.computation.GenericComputation",
30-
"openminds.latest.computation.ModelValidation",
31-
"openminds.latest.computation.Optimization",
32-
"openminds.latest.computation.Simulation",
33-
"openminds.latest.computation.Visualization",
27+
"openminds.v4.computation.DataAnalysis",
28+
"openminds.v4.computation.DataCopy",
29+
"openminds.v4.computation.GenericComputation",
30+
"openminds.v4.computation.ModelValidation",
31+
"openminds.v4.computation.Optimization",
32+
"openminds.v4.computation.Simulation",
33+
"openminds.v4.computation.Visualization",
3434
],
3535
"wasInformedBy",
3636
reverse="was_informed_by",
@@ -39,7 +39,7 @@ class GenericComputation(KGObject, OMGenericComputation):
3939
),
4040
Property(
4141
"is_part_of",
42-
"openminds.latest.computation.WorkflowExecution",
42+
"openminds.v4.computation.WorkflowExecution",
4343
"stage",
4444
reverse="stages",
4545
multiple=True,

0 commit comments

Comments
 (0)