Auto Annotate Column Expressions

Annotations and comments
  • splits into 25 characters per row
  • aggregate using \n as delimiter (Single cell with a newline)
  • if (isMissing(column("value"))) {missingValue()} else {regexReplace(column("value") , "%%00037%00010", " ")}
  • Get path to current workflow
  • Combine tables
  • List all settings.xml files
  • Result: (1) NodeID (2) Settings XML (3) Factory class
  • Put the annotation
  • Get file.separator based on current OS
  • For now we only apply this to the “Column Expressions” node
  • Create relative path to settings.xml (based on workflow path)
  • Path to workflow.knime
  • Build XPath query which extracts the NodeID based on the settings.xml path
  • Use a portable node ID, e.g $:3 (where $ refers to the current WF)
  • Process all nodes which are to be annotated
  • Loop over all nodes
  • Read workflow.knime XML file
  • Read a node's settings.xml
  • POC: Extract the expression which was entered in the String Manipulation node (later support further nodes, obviously)
  • Apply XPath (supplied via FV)
  • Get factory class

Input Ports

This node has no input ports

Output Ports

This node has no output ports

Nodes

Extensions

Links