Skip to content

Commit

Permalink
triggering commit with default processing for printing graph data
Browse files Browse the repository at this point in the history
  • Loading branch information
bernd-mueller committed Nov 5, 2024
1 parent 59fbc51 commit 150d272
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/generate_profile_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ jobs:
git checkout -b `date +%Y_%m_%d-%H_%M`
cd ..
- name: Exectute Enrichment by Profile Ontology script
run: |
python ./.github/workflows/process_profile_script.py ${{steps.changed-files.outputs.all_changed_files}}
- name: Execute the config files update Python Script
run: |
Expand All @@ -85,6 +82,10 @@ jobs:
- name: Execute the profile rendering Python Script
run: |
python ./.github/workflows/profile_generation_script.py ${{steps.changed-files.outputs.all_changed_files}} bioschemas.github.io
- name: Exectute Enrichment by Profile Ontology script
run: |
python ./.github/workflows/process_profile_script.py ${{steps.changed-files.outputs.all_changed_files}}
- name: Setup the Github TOKEN
uses: oleksiyrudenko/gha-git-credentials@v2-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/profile_generation_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ def generate_types_cardianlity(g, prop):
external_properties = []
data_length = len(data)
# for g in range(data_length):
print(data, len(data))
for g in data["@graph"]:
if not isinstance(g, int):
if g["@type"] == "rdf:Property":
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"@context": {
"schema": "http://schema.org/",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
Expand Down

0 comments on commit 150d272

Please sign in to comment.