Skip to content

Commit

Permalink
Merge pull request #55 from INCATools/roll-back
Browse files Browse the repository at this point in the history
Roll back kgcl to kgcl-shcema in dir structure
  • Loading branch information
hrshdhgd authored Feb 26, 2024
2 parents 7d36e0a + d8f0a15 commit b2b2cd3
Show file tree
Hide file tree
Showing 33 changed files with 3,835 additions and 3,840 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

# paths:
# - 'src/docs/*'
# - 'src/kgcl/schema/kgcl_schema.yaml'
# - 'src/kgcl_schema/schema/kgcl_schema.yaml'


# A workflow run is made up of one or more jobs that can run sequentially or in parallel
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SCHEMA_NAME = $(shell sh ./utils/get-value.sh name)
SOURCE_SCHEMA_PATH = $(shell sh ./utils/get-value.sh source_schema_path)
SRC = src
DEST = project
PYMODEL = $(SRC)/$(SCHEMA_NAME)/datamodel
PYMODEL = $(SRC)/$(SCHEMA_NAME)_schema/datamodel
DOCDIR = docs
TEMPLATEDIR = doc-templates

Expand Down Expand Up @@ -49,7 +49,7 @@ deploy: all mkd-gh-deploy
gen-project: $(PYMODEL)
$(RUN) gen-project -d $(DEST) $(SOURCE_SCHEMA_PATH) --config-file project_config.yaml && mv $(DEST)/*.py $(PYMODEL)

src/kgcl/datamodel/%.py: src/kgcl/schema/%.yaml
src/kgcl_schema/datamodel/%.py: src/kgcl_schema/schema/%.yaml
$(RUN) gen-python $< > $@.tmp && mv $@.tmp $@

test:
Expand Down
2 changes: 1 addition & 1 deletion about.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: kgcl
description: Knowledge Graph Change Language.
source_schema_path: src/kgcl/schema/kgcl.yaml
source_schema_path: src/kgcl_schema/schema/kgcl.yaml
Binary file modified project/excel/kgcl.xlsx
Binary file not shown.
2 changes: 1 addition & 1 deletion project/jsonld/kgcl.context.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"comments": {
"description": "Auto generated by LinkML jsonld context generator",
"generation_date": "2024-02-23T15:34:13",
"generation_date": "2024-02-25T23:33:07",
"source": "kgcl.yaml"
},
"@context": {
Expand Down
4 changes: 2 additions & 2 deletions project/jsonld/kgcl.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -5986,9 +5986,9 @@
],
"metamodel_version": "1.7.0",
"source_file": "kgcl.yaml",
"source_file_date": "2024-02-23T15:34:05",
"source_file_date": "2024-02-25T18:04:37",
"source_file_size": 32109,
"generation_date": "2024-02-23T15:34:14",
"generation_date": "2024-02-25T23:33:07",
"@type": "SchemaDefinition",
"@context": [
"project/jsonld/kgcl.context.jsonld",
Expand Down
Loading

0 comments on commit b2b2cd3

Please sign in to comment.