From e4698a74871e1e9bae03fbee1027b7d1558285ee Mon Sep 17 00:00:00 2001 From: Oskar Andersson Date: Thu, 4 Apr 2024 20:27:14 +0200 Subject: [PATCH] Fixed standard symbol use in unitsystem definitions. The standard symbol is the symbol in the respective unit data schemas. --- schemas/src/defs/v1.2/unitsystems/optimade/optimade.yaml | 2 +- .../src/defs/v1.2/unitsystems/si/si_accepted_2019.yaml | 4 ++-- schemas/src/defs/v1.2/unitsystems/si/si_general.yaml | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/schemas/src/defs/v1.2/unitsystems/optimade/optimade.yaml b/schemas/src/defs/v1.2/unitsystems/optimade/optimade.yaml index c49ac5327..a1eb30712 100644 --- a/schemas/src/defs/v1.2/unitsystems/optimade/optimade.yaml +++ b/schemas/src/defs/v1.2/unitsystems/optimade/optimade.yaml @@ -15,5 +15,5 @@ x-optimade-definition: units: bit: $$inherit: "/v1.2/units/independent/1948/information/bit" - byte: + B: $$inherit: "/v1.2/units/iso-iec-80000/2008/information_science_and_technology/byte" diff --git a/schemas/src/defs/v1.2/unitsystems/si/si_accepted_2019.yaml b/schemas/src/defs/v1.2/unitsystems/si/si_accepted_2019.yaml index f2559cfaf..023de9740 100644 --- a/schemas/src/defs/v1.2/unitsystems/si/si_accepted_2019.yaml +++ b/schemas/src/defs/v1.2/unitsystems/si/si_accepted_2019.yaml @@ -24,7 +24,7 @@ units: $$inherit: "/v1.2/units/si/1970/accepted/day" au: $$inherit: "/v1.2/units/si/2019/accepted/astronomicalunit" - deg: + degree: $$inherit: "/v1.2/units/si/1970/accepted/degree" arcmin: $$inherit: "/v1.2/units/si/1970/accepted/arcminute" @@ -36,7 +36,7 @@ units: $$inherit: "/v1.2/units/si/1983/accepted/litre" t: $$inherit: "/v1.2/units/si/2019/accepted/tonne" - da: + Da: $$inherit: "/v1.2/units/si/1998/accepted/dalton" eV: $$inherit: "/v1.2/units/si/2019/accepted/electronvolt" diff --git a/schemas/src/defs/v1.2/unitsystems/si/si_general.yaml b/schemas/src/defs/v1.2/unitsystems/si/si_general.yaml index bff98d684..60e2e73de 100644 --- a/schemas/src/defs/v1.2/unitsystems/si/si_general.yaml +++ b/schemas/src/defs/v1.2/unitsystems/si/si_general.yaml @@ -21,7 +21,7 @@ units: $$inherit: "/v1.2/units/si/general/arcminute" arcsec: $$inherit: "/v1.2/units/si/general/arcsecond" - are: + a: $$inherit: "/v1.2/units/si/general/are" au: $$inherit: "/v1.2/units/si/general/astronomicalunit" @@ -41,13 +41,13 @@ units: $$inherit: "/v1.2/units/si/general/coulomb" Ci: $$inherit: "/v1.2/units/si/general/curie" - da: + Da: $$inherit: "/v1.2/units/si/general/dalton" day: $$inherit: "/v1.2/units/si/general/day" degC: $$inherit: "/v1.2/units/si/general/degcelsius" - deg: + degree: $$inherit: "/v1.2/units/si/general/degree" eV: $$inherit: "/v1.2/units/si/general/electronvolt" @@ -87,7 +87,7 @@ units: $$inherit: "/v1.2/units/si/general/minute" mol: $$inherit: "/v1.2/units/si/general/mole" - nauticalmile: + M: $$inherit: "/v1.2/units/si/general/nauticalmile" N: $$inherit: "/v1.2/units/si/general/newton"