-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Functional Review Extended Maps support
- Loading branch information
Showing
8 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
copy_field("animal", "animalGroup") | ||
lookup("animalGroup", "data/experimental/map/mapfile.tsv", "sep_char":"\t") | ||
|
||
copy_field("animal", "animalGroupTEST") | ||
lookup("animalGroupTEST", "data/experimental/map/mapfile.tsv") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
put_filemap("data/experimental/map/mapfile.tsv", "map", "sep_char":"\t") | ||
|
||
copy_field("animal", "animalGroup") | ||
lookup("animalGroup", "map") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dog mammal | ||
cat mammal | ||
parrot bird | ||
shark fish | ||
dragon ficational animal | ||
unicorn ficational animal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
put_map("map", | ||
"dog":"mammal", | ||
"cat":"mammal", | ||
"parrot":"bird", | ||
"shark":"fish", | ||
"dragon":"ficational animal", | ||
"unicorn":"ficational animal" | ||
) | ||
|
||
copy_field("animal", "animalGroup") | ||
lookup("animalGroup", "map") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
infile = FLUX_DIR + "animals.json"; | ||
|
||
infile | ||
| open-file | ||
| as-records | ||
| decode-json | ||
| fix(FLUX_DIR + "externalMapInLine.fix") | ||
| encode-json(prettyPrinting="true") | ||
; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
infile = FLUX_DIR + "animals.json"; | ||
|
||
infile | ||
| open-file | ||
| as-records | ||
| decode-json | ||
| fix(FLUX_DIR + "putMap.fix") | ||
| encode-json(prettyPrinting="true") | ||
; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
infile = FLUX_DIR + "animals.json"; | ||
|
||
infile | ||
| open-file | ||
| as-records | ||
| decode-json | ||
| fix(FLUX_DIR + "externalPutFilemap.fix") | ||
| encode-json(prettyPrinting="true") | ||
; |