Skip to content
Snippets Groups Projects
Commit 82efdf85 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

FIX: the data paper allows a year prefix for the name of the project level

parent 9cc4d2d5
No related branches found
No related tags found
2 merge requests!53Release 0.1,!34F insert auth
Pipeline #28193 failed
......@@ -16,12 +16,12 @@ Data: # name of the converter
subtree: &template
project_dir: # name of the first subtree element which is a converter
type: Directory
match: (?P<date>.*?)_(?P<identifier>.*)
match: ((?P<year>[0-9]{4,4})_)?(?P<identifier>.*)
records:
Project: # this is an identifiable in this case
parents:
- Project # not needed as the name is equivalent
date: $date
date: $year
identifier: $identifier
subtree:
......
......@@ -16,12 +16,12 @@ Data: # name of the converter
subtree: &template
project_dir: # name of the first subtree element which is a converter
type: Directory
match: (?P<date>.*?)_(?P<identifier>.*)
match: ((?P<year>[0-9]{4,4})_)?(?P<identifier>.*)
records:
Project: # this is an identifiable in this case
parents:
- Project # not needed as the name is equivalent
date: $date
date: $year
identifier: $identifier
subtree:
......
......@@ -16,12 +16,12 @@ Data: # name of the converter
subtree: &template
project_dir: # name of the first subtree element which is a converter
type: Directory
match: (?P<date>.*?)_(?P<identifier>.*)
match: ((?P<year>[0-9]{4,4})_)?(?P<identifier>.*)
records:
Project: # this is an identifiable in this case
parents:
- Project # not needed as the name is equivalent
date: $date
date: $year
identifier: $identifier
subtree:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment