-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into annotations
- Loading branch information
Showing
9 changed files
with
1,327 additions
and
557 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Configurations used when running emmocheck from the ci_emmocheck workflow | ||
test_namespace: | ||
exceptions: | ||
- manufacturing.EngineeredMaterial | ||
test_quantity_dimension: | ||
exceptions: | ||
- emmo.ModelledQuantitativeProperty | ||
- emmo.MeasuredQuantitativeProperty | ||
- emmo.ConventionalQuantitativeProperty | ||
- emmo.QuantitativeProperty | ||
- emmo.Quantity | ||
- emmo.OrdinalQuantity | ||
- emmo.BaseQuantity | ||
- emmo.PhysicalConstant | ||
- emmo.PhysicalQuantity | ||
- emmo.ExactConstant | ||
- emmo.MeasuredConstant | ||
- emmo.DerivedQuantity | ||
- emmo.ISQBaseQuantity | ||
- emmo.InternationalSystemOfQuantity | ||
- emmo.ISQDerivedQuantity | ||
- emmo.SIExactConstant | ||
- microstructure.PhysicalField | ||
- microstructure.PhysicalScalarField | ||
- microstructure.PhysicalDiscretisedField | ||
- microstructure.VoxelField | ||
- microstructure.PixelField | ||
- microstructure.PhysicalTensorField | ||
- microstructure.PhysicalVectorField | ||
- microstructure.ConcentrationField | ||
- microstructure.AverageQuantity | ||
- microstructure.ReferenceFrame | ||
- microstructure.GlobalReferenceFrame | ||
- microstructure.LocalReferenceFrame | ||
- microstructure.GeneralisedDensity | ||
- microstructure.LengthDensity # should not be ignored!!! | ||
- microstructure.Orientation # does this have a unit? LengthFractionUnit? | ||
- microstructure. | ||
- microstructure. | ||
|
||
|
||
test_unit_dimension: | ||
exceptions: | ||
- emmo.MultipleUnit | ||
- emmo.SubMultipleUnit | ||
- emmo.OffSystemUnit | ||
- emmo.PrefixedUnit | ||
- emmo.NonPrefixedUnit | ||
- emmo.SpecialUnit | ||
- emmo.DerivedUnit | ||
- emmo.BaseUnit | ||
- emmo.UnitSymbol | ||
- emmo.SICoherentDerivedUnit | ||
- emmo.SINonCoherentDerivedUnit | ||
- emmo.SISpecialUnit | ||
- emmo.SICoherentUnit | ||
- emmo.SIPrefixedUnit | ||
- emmo.SIBaseUnit | ||
- emmo.SIUnitSymbol | ||
- emmo.SIUnit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Deploy on GitHub Pages | ||
on: | ||
push: | ||
branches: [master] | ||
|
||
permissions: | ||
contents: write | ||
|
||
|
||
jobs: | ||
deploy-on-ghpages: | ||
#concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession. | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.11 | ||
|
||
- name: Install EMMOntoPy | ||
run: | | ||
pip install --upgrade pip | ||
pip install EMMOntoPy | ||
- name: Create squashed and inferred ontology | ||
run: | | ||
mkdir build | ||
ontoconvert -saw --base-iri="https://w3id.org/emmo/domain/microstructure#" --iri="https://w3id.org/emmo/domain/microstructure" microstructure.ttl build/microstructure.ttl | ||
#ontoconvert -saw --base-iri="https://w3id.org/emmo/domain/microstructure#" --iri="https://w3id.org/emmo/domain/microstructure" microstructure.ttl build/microstructure-inferred.ttl --infer=HermiT | ||
- name: Deploy to GitHub Pages | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
folder: build | ||
branch: gh-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: CI tests | ||
on: [push] | ||
|
||
jobs: | ||
ci_testing: | ||
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession. | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.11 | ||
|
||
- name: Install EMMOntoPy | ||
run: | | ||
pip install --upgrade pip | ||
pip install EMMOntoPy | ||
- name: Test | ||
run: | | ||
emmocheck --configfile=.github/emmocheck_conf.yml microstructure.ttl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*~ | ||
build |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<catalog prefer="public" xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> | ||
<uri id="Imports Wizard Entry" name="https://emmo-repo.github.io/versions/1.0.0-beta/emmo-inferred-chemistry/1.0.0-beta" uri="https://emmo-repo.github.io/versions/1.0.0-beta/emmo-inferred-chemistry2.ttl"/> | ||
<group id="Folder Repository, directory=, recursive=true, Auto-Update=false, version=2" prefer="public" xml:base=""> | ||
<uri name="http://emmo.info/physmet/0.0.1/physmet" uri="./physmet.ttl"/> | ||
<uri name="http://emmo.info/crystallography/0.0.1/crystallography" uri="./crystallography/crystallography.ttl"/> | ||
<uri name="https://w3id.org/emmo/domain/microstructure/0.3" uri="./microstructure.ttl"/> | ||
</group> | ||
</catalog> |
Oops, something went wrong.