Skip to content

Commit

Permalink
API update
Browse files Browse the repository at this point in the history
  • Loading branch information
sdRDM Bot authored and sdRDM Bot committed Sep 19, 2023
1 parent c7407c2 commit 23f9fc0
Show file tree
Hide file tree
Showing 23 changed files with 47 additions and 47 deletions.
2 changes: 1 addition & 1 deletion datamodel_b07_tc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

__URL__ = "https://github.com/FAIRChemistry/datamodel_b07_tc.git"
__COMMIT__ = "8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
__COMMIT__ = "c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
2 changes: 1 addition & 1 deletion datamodel_b07_tc/core/author.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ class Author(sdRDM.DataModel):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)
2 changes: 1 addition & 1 deletion datamodel_b07_tc/core/calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ class Calibration(sdRDM.DataModel):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)
4 changes: 2 additions & 2 deletions datamodel_b07_tc/core/chemical.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from sdRDM.base.utils import forge_signature, IDGenerator


from .stoichiometry import Stoichiometry
from .reactantrole import ReactantRole
from .stoichiometry import Stoichiometry


@forge_signature
Expand Down Expand Up @@ -65,5 +65,5 @@ class Chemical(sdRDM.DataModel):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)
4 changes: 2 additions & 2 deletions datamodel_b07_tc/core/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from sdRDM.base.listplus import ListPlus
from sdRDM.base.utils import forge_signature, IDGenerator

from datetime import datetime as Datetime
from astropy.units import UnitBase
from datetime import datetime as Datetime

from .quantity import Quantity

Expand Down Expand Up @@ -41,5 +41,5 @@ class Data(sdRDM.DataModel):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)
8 changes: 4 additions & 4 deletions datamodel_b07_tc/core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
from sdRDM.base.utils import forge_signature, IDGenerator


from .experiment import Experiment
from .generalinformation import GeneralInformation
from .speciesdata import SpeciesData
from .measurement import Measurement
from .plantsetup import PlantSetup
from .speciesdata import SpeciesData
from .experiment import Experiment
from .generalinformation import GeneralInformation


@forge_signature
Expand Down Expand Up @@ -38,7 +38,7 @@ class Dataset(sdRDM.DataModel):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)

def add_to_experiments(
Expand Down
2 changes: 1 addition & 1 deletion datamodel_b07_tc/core/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ class Device(sdRDM.DataModel):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)
12 changes: 6 additions & 6 deletions datamodel_b07_tc/core/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@


from .calibration import Calibration
from .chemicalformula import ChemicalFormula
from .measurement import Measurement
from .species import Species
from .metadata import Metadata
from .data import Data
from .plantsetup import PlantSetup
from .measurementtype import MeasurementType
from .chemicalformula import ChemicalFormula
from .speciesdata import SpeciesData
from .species import Species
from .data import Data
from .measurement import Measurement
from .plantsetup import PlantSetup


@forge_signature
Expand Down Expand Up @@ -50,7 +50,7 @@ class Experiment(sdRDM.DataModel):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)

def add_to_measurements(
Expand Down
2 changes: 1 addition & 1 deletion datamodel_b07_tc/core/generalinformation.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class GeneralInformation(sdRDM.DataModel):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)

def add_to_authors(
Expand Down
4 changes: 2 additions & 2 deletions datamodel_b07_tc/core/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from sdRDM.base.utils import forge_signature, IDGenerator


from .chemical import Chemical
from .reactantrole import ReactantRole
from .chemical import Chemical
from .stoichiometry import Stoichiometry


Expand All @@ -31,7 +31,7 @@ class Input(sdRDM.DataModel):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)

def add_to_component(
Expand Down
2 changes: 1 addition & 1 deletion datamodel_b07_tc/core/insulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ class Insulation(sdRDM.DataModel):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)
2 changes: 1 addition & 1 deletion datamodel_b07_tc/core/massflowmeter.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ class MassFlowMeter(Device):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)
10 changes: 5 additions & 5 deletions datamodel_b07_tc/core/measurement.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
from sdRDM.base.listplus import ListPlus
from sdRDM.base.utils import forge_signature, IDGenerator

from datetime import datetime as Datetime
from astropy.units import UnitBase
from datetime import datetime as Datetime

from .quantity import Quantity
from .measurementtype import MeasurementType
from .metadata import Metadata
from .datatype import DataType
from .data import Data
from .datatype import DataType
from .metadata import Metadata
from .measurementtype import MeasurementType


@forge_signature
Expand Down Expand Up @@ -46,7 +46,7 @@ class Measurement(sdRDM.DataModel):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)

def add_to_metadata(
Expand Down
4 changes: 2 additions & 2 deletions datamodel_b07_tc/core/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from pydantic import Field, PrivateAttr
from sdRDM.base.utils import forge_signature, IDGenerator

from datetime import datetime as Datetime
from astropy.units import UnitBase
from datetime import datetime as Datetime

from .datatype import DataType

Expand Down Expand Up @@ -59,5 +59,5 @@ class Metadata(sdRDM.DataModel):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)
4 changes: 2 additions & 2 deletions datamodel_b07_tc/core/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from sdRDM.base.utils import forge_signature, IDGenerator


from .chemical import Chemical
from .reactantrole import ReactantRole
from .chemical import Chemical
from .stoichiometry import Stoichiometry


Expand All @@ -31,7 +31,7 @@ class Output(sdRDM.DataModel):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)

def add_to_component(
Expand Down
2 changes: 1 addition & 1 deletion datamodel_b07_tc/core/parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ class Parameter(sdRDM.DataModel):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)
8 changes: 4 additions & 4 deletions datamodel_b07_tc/core/plantsetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
from sdRDM.base.utils import forge_signature, IDGenerator


from .output import Output
from .input import Input
from .chemical import Chemical
from .tubing import Tubing
from .output import Output
from .material import Material
from .insulation import Insulation
from .tubing import Tubing
from .chemical import Chemical
from .device import Device


Expand Down Expand Up @@ -53,7 +53,7 @@ class PlantSetup(sdRDM.DataModel):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)

def add_to_devices(
Expand Down
2 changes: 1 addition & 1 deletion datamodel_b07_tc/core/potentiostat.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ class Potentiostat(Device):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)
4 changes: 2 additions & 2 deletions datamodel_b07_tc/core/pump.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from sdRDM.base.utils import forge_signature, IDGenerator


from .device import Device
from .pumptype import PumpType
from .device import Device


@forge_signature
Expand All @@ -27,5 +27,5 @@ class Pump(Device):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)
6 changes: 3 additions & 3 deletions datamodel_b07_tc/core/speciesdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
from sdRDM.base.utils import forge_signature, IDGenerator


from .data import Data
from .species import Species
from .calibration import Calibration
from .species import Species
from .data import Data
from .chemicalformula import ChemicalFormula


Expand Down Expand Up @@ -55,5 +55,5 @@ class SpeciesData(sdRDM.DataModel):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)
2 changes: 1 addition & 1 deletion datamodel_b07_tc/core/stoichiometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ class Stoichiometry(sdRDM.DataModel):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)
4 changes: 2 additions & 2 deletions datamodel_b07_tc/core/thermocouple.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from sdRDM.base.utils import forge_signature, IDGenerator


from .thermocoupletype import ThermocoupleType
from .device import Device
from .thermocoupletype import ThermocoupleType


@forge_signature
Expand All @@ -27,5 +27,5 @@ class Thermocouple(Device):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)
2 changes: 1 addition & 1 deletion datamodel_b07_tc/core/tubing.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ class Tubing(sdRDM.DataModel):
default="https://github.com/FAIRChemistry/datamodel_b07_tc.git"
)
__commit__: Optional[str] = PrivateAttr(
default="8779bd04afaf3dcb5dc3c90e093cafb9beb5e306"
default="c7407c28baaf7f0667ca7e50953202a7c1ae7ff5"
)

0 comments on commit 23f9fc0

Please sign in to comment.