Skip to content
Snippets Groups Projects
Commit 0952c711 authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

TST: Added test environment for test_transformers

parent 7e28a0aa
No related branches found
No related tags found
2 merge requests!160STY: styling,!126Transformers
Pipeline #39498 failed
# See: https://gitlab.indiscale.com/caosdb/src/caosdb-crawler/-/issues/107
RootDir:
type: Directory
match: ^.*$
subtree:
DateDir:
type: Directory
match: ^Day_(?P<day_short>.*)$ # Example: Day_Mon
transform:
MakeDayLong:
in: $day_short
out: $day_long
functions:
- ifelse: # name of the function
match: Mon # match is one specific argument
then: Monday # then another one
- ifelse: # next function
match: Tue
then: Tuesday
records:
DayFolder:
Day: $day_long
DayShort: $day_short # just for checking, whether this variable remains
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment