Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
ed6a3802
Commit
ed6a3802
authored
Nov 02, 2020
by
Maja-Olivia Lenz
Committed by
Markus Scheidgen
Jan 08, 2021
Browse files
Fix typo
parent
89b53964
Changes
1
Hide whitespace changes
Inline
Side-by-side
nomad/app/dcat/mapping.py
View file @
ed6a3802
...
...
@@ -44,8 +44,8 @@ class Mapping():
self
.
g
.
add
((
dataset
,
DCT
.
modified
,
Literal
(
entry
.
last_processing
)))
self
.
g
.
add
((
dataset
,
DCAT
.
landing_page
,
URIRef
(
'%s/entry/id/%s/%s'
%
(
config
.
gui_url
(),
entry
.
upload_id
,
entry
.
calc_id
))))
self
.
g
.
add
((
dataset
,
DCT
.
title
,
Literal
(
'unavail
b
ale'
if
entry
.
formula
is
None
else
entry
.
formula
)))
self
.
g
.
add
((
dataset
,
DCT
.
description
,
Literal
(
'unavail
b
ale'
if
entry
.
comment
is
None
else
entry
.
comment
)))
self
.
g
.
add
((
dataset
,
DCT
.
title
,
Literal
(
'unavaila
b
le'
if
entry
.
formula
is
None
else
entry
.
formula
)))
self
.
g
.
add
((
dataset
,
DCT
.
description
,
Literal
(
'unavaila
b
le'
if
entry
.
comment
is
None
else
entry
.
comment
)))
self
.
g
.
add
((
dataset
,
DCT
.
publisher
,
self
.
map_user
(
entry
.
uploader
)))
for
author
in
entry
.
authors
:
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment