Skip to content

Commit 09043c3

Browse files
committed
THERE ARE FOUR SPACES
1 parent 7740bd7 commit 09043c3

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

docs/side_quests/metadata.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -882,27 +882,27 @@ Applying this pattern in your own work will enable you to build robust, maintain
882882

883883
2. **Expanding Metadata During Workflow** Adding new information to your metadata as your pipeline progresses by adding process outputs and deriving values through conditional logic.
884884

885-
- Adding new keys based on process output
885+
- Adding new keys based on process output
886886

887-
```groovy
888-
.map { meta, file, lang ->
889-
[ meta + [lang:lang], file ]
890-
}
891-
```
887+
```groovy
888+
.map { meta, file, lang ->
889+
[ meta + [lang:lang], file ]
890+
}
891+
```
892892
893-
- Adding new keys using a conditional clause
893+
- Adding new keys using a conditional clause
894894
895-
```groovy
896-
.map{ meta, file ->
897-
if ( meta.lang.equals("de") || meta.lang.equals('en') ){
898-
lang_group = "germanic"
899-
} else if ( meta.lang in ["fr", "es", "it"] ) {
900-
lang_group = "romance"
901-
} else {
902-
lang_group = "unknown"
903-
}
895+
```groovy
896+
.map{ meta, file ->
897+
if ( meta.lang.equals("de") || meta.lang.equals('en') ){
898+
lang_group = "germanic"
899+
} else if ( meta.lang in ["fr", "es", "it"] ) {
900+
lang_group = "romance"
901+
} else {
902+
lang_group = "unknown"
904903
}
905-
```
904+
}
905+
```
906906
907907
3. **Customizing Process Behavior:** Using metadata to adapt how processes handle different files.
908908

0 commit comments

Comments
 (0)