Skip to content
Snippets Groups Projects
Commit 490e5c24 authored by Robert Bossy's avatar Robert Bossy
Browse files

differentiate layer and feature name for taxa selection

parent 123be432
No related branches found
No related tags found
No related merge requests found
......@@ -5,8 +5,12 @@
<alias module="tag.taxpaths" param="mappingFile"/>
</param>
<param name="name">
<alias module="name" param="featureValue"/>
<param name="featureName">
<alias module="featureName" param="featureValue"/>
</param>
<param name="layerName">
<alias module="layerName" param="featureValue"/>
</param>
<param name="column">
......@@ -18,10 +22,15 @@
<alias module="tag" param="select"/>
</param>
<name class="SetFeature">
<featureName class="SetFeature">
<target>$</target>
<featureName>select-taxa-feature-name</featureName>
</featureName>
<layerName class="SetFeature">
<target>$</target>
<featureName>select-taxa-name</featureName>
</name>
<featureName>select-taxa-layer-name</featureName>
</layerName>
<tag>
<select>taxids</select>
......@@ -43,8 +52,8 @@
<layer class="Action">
<target>documents.sections.layer:taxa[@selected-taxa]</target>
<action>
setlayer:add(corpus.@select-taxa-name)
| set:feat(corpus.@select-taxa-name, corpus.@select-taxa-name)
setlayer:add(corpus.@select-taxa-layer-name)
| set:feat(corpus.@select-taxa-feature-name, corpus.@select-taxa-feature-name)
| set:remove-feature:selected-taxa
</action>
<addToLayer/>
......
......@@ -11,12 +11,14 @@
<select-microorganisms-taxids href="select-taxa.plan">
<list>output/taxid_microorganisms.txt</list>
<name>microorganisms-taxids</name>
<featureName>microorganism</featureName>
<layerName>microorganisms-taxids</layerName>
</select-microorganisms-taxids>
<select-microorganisms-taxpaths href="select-taxa.plan">
<list>output/microorganisms-roots-paths.txt</list>
<name>microorganisms-taxroots</name>
<featureName>microorganism</featureName>
<layerName>microorganisms-taxroots</layerName>
<mode>taxpaths</mode>
</select-microorganisms-taxpaths>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment