From 5e14a42c025675485853e8cc8a8a1fd7db70ebca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Fri, 14 Feb 2025 12:35:37 +0100 Subject: [PATCH] Update runner examples #651 --- .../src/main/dist/examples/count/subjects/references.fix | 2 +- .../main/dist/examples/gnd/crisscross-connections/extract.fix | 2 +- .../src/main/dist/examples/gnd/references/references.fix | 2 +- .../src/main/dist/examples/gnd/references2/extract.fix | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/metafacture-runner/src/main/dist/examples/count/subjects/references.fix b/metafacture-runner/src/main/dist/examples/count/subjects/references.fix index b819df067..fb6263def 100644 --- a/metafacture-runner/src/main/dist/examples/count/subjects/references.fix +++ b/metafacture-runner/src/main/dist/examples/count/subjects/references.fix @@ -1,4 +1,4 @@ -do list(path:"041A*|041A","var":"$i") # Until https://github.com/metafacture/metafacture-core/issues/651 is fixed one hass to add "041A" +do list(path:"041A*","var":"$i") copy_field("$i.9","relevantField.$append") end diff --git a/metafacture-runner/src/main/dist/examples/gnd/crisscross-connections/extract.fix b/metafacture-runner/src/main/dist/examples/gnd/crisscross-connections/extract.fix index d43c27077..27e34ec11 100644 --- a/metafacture-runner/src/main/dist/examples/gnd/crisscross-connections/extract.fix +++ b/metafacture-runner/src/main/dist/examples/gnd/crisscross-connections/extract.fix @@ -156,7 +156,7 @@ end # copy_field("008A.a","teilbest") -do list(path:"041A*|041A","var":"$i") # Until https://github.com/metafacture/metafacture-core/issues/651 is fixed one hass to add "041A" +do list(path:"041A*","var":"$i") trim("$i.9") to_var("$i.9","ref") if exists("$i.9") diff --git a/metafacture-runner/src/main/dist/examples/gnd/references/references.fix b/metafacture-runner/src/main/dist/examples/gnd/references/references.fix index cf73f9ed4..fb6263def 100644 --- a/metafacture-runner/src/main/dist/examples/gnd/references/references.fix +++ b/metafacture-runner/src/main/dist/examples/gnd/references/references.fix @@ -1,4 +1,4 @@ -do list(path:"041A*|041A","var":"$i") # Until issue #651 is fixed one has to add "041A" +do list(path:"041A*","var":"$i") copy_field("$i.9","relevantField.$append") end diff --git a/metafacture-runner/src/main/dist/examples/gnd/references2/extract.fix b/metafacture-runner/src/main/dist/examples/gnd/references2/extract.fix index d43c27077..27e34ec11 100644 --- a/metafacture-runner/src/main/dist/examples/gnd/references2/extract.fix +++ b/metafacture-runner/src/main/dist/examples/gnd/references2/extract.fix @@ -156,7 +156,7 @@ end # copy_field("008A.a","teilbest") -do list(path:"041A*|041A","var":"$i") # Until https://github.com/metafacture/metafacture-core/issues/651 is fixed one hass to add "041A" +do list(path:"041A*","var":"$i") trim("$i.9") to_var("$i.9","ref") if exists("$i.9")