From aaf025d7c99cf613d13c741051e4d356f449baf6 Mon Sep 17 00:00:00 2001 From: Volodymyr Savchenko Date: Sat, 25 May 2024 00:38:54 +0200 Subject: [PATCH] change schedule --- .github/workflows/aggregate.yaml | 8 ++------ workflowhub_graph/absolutize.py | 11 +++++++---- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/aggregate.yaml b/.github/workflows/aggregate.yaml index c4ad516..cfb5fcf 100644 --- a/.github/workflows/aggregate.yaml +++ b/.github/workflows/aggregate.yaml @@ -1,13 +1,9 @@ name: Aggregate on: - # schedule: - # - cron: '0 0 * * *' - [push] - - + schedule: + - cron: '12 5 * * *' - jobs: aggregate: runs-on: ubuntu-latest diff --git a/workflowhub_graph/absolutize.py b/workflowhub_graph/absolutize.py index 0319d86..280ffdd 100644 --- a/workflowhub_graph/absolutize.py +++ b/workflowhub_graph/absolutize.py @@ -6,6 +6,13 @@ import rdflib +# TODO: following https://github.com/workflowhub-eu/workflowhub-graph/issues/12 +# builing upon is_all_absolute +# add extended RO-Crate profile validation +# get information like schema.org domain and check if the graph is compliant with the schema +# normative schema.org dev docs: https://schema.org/docs/developers.html +# make a note for validation of the graph + def is_all_absolute(G: rdflib.Graph) -> bool: for triple in G: for item in triple: @@ -23,10 +30,6 @@ def is_all_absolute(G: rdflib.Graph) -> bool: return True -# TODO: RO-Crate profile validation -# get information like schema.org domain and check if the graph is compliant with the schema -# normative schema.org dev docs: https://schema.org/docs/developers.html -# TODO: make a note for validation of the graph def make_paths_absolute(