All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.view-attribute-mapping.ftl Maven / Gradle / Ivy

<#include "molgenis-header.ftl">
<#include "molgenis-footer.ftl">
<#assign css=['mapping-service.css']>
<#assign js=[
'attribute-mapping.js',
'd3.min.js',
'vega.min.js',
'jstat.min.js',
'biobankconnect-graph.js',
'jquery/scrollTableBody/jquery.scrollTableBody-1.0.0.js',
'bootbox.min.js',
'jquery.ace.js',
'jquery.highlight.js'
]>

<@header css js/>

<#-- Hidden fields containing information needed for ajax requests -->
Cancel and go back

Mapping to ${entityMapping.targetEntityType.id} .${attributeMapping.targetAttribute.name} from ${entityMapping.sourceEntityType.id}

Algorithm state <#if attributeMapping.algorithmState??>${attributeMapping.algorithmState?html}<#else> N/A
Name ${attributeMapping.targetAttribute.name?html} (${attributeMapping.targetAttribute.dataType})
Label <#if attributeMapping.targetAttribute.label??> ${attributeMapping.targetAttribute.label?html} <#else> N/A
Description <#if attributeMapping.targetAttribute.description??> ${attributeMapping.targetAttribute.description?html} <#else> N/A
OntologyTerms <#if tags ?? && tags?size == 0> N/A <#else> <#list tags as tag> <#assign synonyms = tag.synonyms?join("
")> ${tag.label?html}
Categories <#if attributeMapping.targetAttribute.dataType == "CATEGORICAL" || attributeMapping.targetAttribute.dataType == "CATEGORICAL_MREF" && (categories)?has_content> <#assign refEntityType = attributeMapping.targetAttribute.refEntity> <#assign idAttr = refEntityType.getIdAttribute()> <#assign labelAttr = refEntityType.getLabelAttribute()> <#list categories as category> <#if (category[idAttr.name])??> <#assign value = category[idAttr.name] /> <#assign dataType = idAttr.dataType /> <#if dataType == "DATE_TIME" || dataType == "DATE"> ${value.format()} <#else> ${value?string} <#if labelAttr?? && labelAttr.name != idAttr.name> <#if (category[labelAttr.name])??> = <#assign value = category[labelAttr.name] /> <#assign dataType = labelAttr.dataType /> <#if dataType == "DATE_TIME" || dataType == "DATE"> ${value.format()} <#else> ${value?string}
<#else> N/A
<#-- Start: Master row -->
<#-- Start: Attribute table column -->
<#-- Start: Attribute table container -->
Attributes

<#-- End: Attribute table container -->
<#-- End: Attribute table column -->
<#-- Start: Mapping column -->
<#-- Start: Mapping container -->
Mapping The Map tab allows you to map the various categorical values or strings to the categorical values of the target attribute. ">
<@script />
<@map />

<#-- End: Mapping container -->
<#-- End: Mapping column -->
<#-- Start Result column -->
<#-- Start: Result container -->
Result

Validation

Algorithm validation starts automatically when the algorithm is updated. In case of errors, click the error label for more details

Preview

<#-- End: Result container -->
<#-- End: Result column -->
<#-- End: Master row --> <#-- map tab --> <#macro map>
<#-- algorithm editor tab --> <#macro script>

Algorithm

Use the script editor to determine how the values of selected attributes are processed. See the list of available functions for more information.

<@footer/>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy