Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iderha-cwl-wes-workflows
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
IDERHA
iderha-cwl-wes-workflows
Commits
0ca3f082
Commit
0ca3f082
authored
3 months ago
by
Francois Ancien
Browse files
Options
Downloads
Patches
Plain Diff
Correcting incredibly stupid mistake and adding logs;
parent
60889217
No related branches found
Branches containing commit
No related tags found
1 merge request
!12
Improving workflow to update MDC assets
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
resources/update-catalog/update-dcat.py
+2
-0
2 additions, 0 deletions
resources/update-catalog/update-dcat.py
with
2 additions
and
0 deletions
resources/update-catalog/update-dcat.py
+
2
−
0
View file @
0ca3f082
...
...
@@ -28,6 +28,7 @@ def main():
dcat
=
json
.
load
(
f
)
for
dataset
in
dcat
[
"
dcat:dataset
"
]:
print
(
f
"
Processing locations of policy files for dataset
{
dataset
[
'
@id
'
]
}
"
)
dataset_policy_id
=
dataset
.
get
(
"
policyId
"
)
dataset_policy_obligation
=
dataset
.
get
(
"
odrl:hasPolicy
"
,
{}).
get
(
"
odrl:obligation
"
,
{})
if
dataset_policy_obligation
:
...
...
@@ -60,4 +61,5 @@ def main():
if
__name__
==
"
__main__
"
:
main
()
exit
(
0
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment