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