Icon

04. Data app - File Upload+Download - solution

Solution to Exercise 04. Data app - File Upload+Download
This workflow is an interactive Web Application for exploring molecules and their properties
The web app consists of three views:
1. the user can upload a file with their own data
2. the user is able to select, which molecular properties should be calculated for each molecule and several data visualizations help the user to select the best molecules
3. the user can download the selected molecules as an Excel file

Create an interactive Web Application with File Upload and DownloadThe goal of this exercise is to build a web application for exploring molecules and their properties, where 1. the user can upload a file with their own data 2. download a file with the results and selection from this web applicationDeploy on Server: Make sure to reset the workflow!! 1. Use Generic File Uploadcomponent from theEXAMPLES space under00_Components>GuidedAnalytics 5. Use the Variable Creatornode to create the name of theoutput file.variable name: file-namevalue: compounds 6. Use the Excel Writer to writeyour file to the createdtemporary locationuse the flow variable "output"for the path. 3. Use the Row Filternode to filter the rows,which were selectedby the user from thetile view 4. Use the Breakpointnode to fail if the Tablefrom the Row filter node isempty (=user did not selectany rows) 2. Add a Header to theview by inserting thecomponent "Data AppHeader" from theKNIME Hub halt if no data is selected Generic File Upload RDKit From Molecule Row Filter Try (Data Ports) Catch Errors(Data Ports) Breakpoint Download File Excel Writer Column Filter Create Temp Folder Variable Creator Single View Create an interactive Web Application with File Upload and DownloadThe goal of this exercise is to build a web application for exploring molecules and their properties, where 1. the user can upload a file with their own data 2. download a file with the results and selection from this web applicationDeploy on Server: Make sure to reset the workflow!! 1. Use Generic File Uploadcomponent from theEXAMPLES space under00_Components>GuidedAnalytics 5. Use the Variable Creatornode to create the name of theoutput file.variable name: file-namevalue: compounds 6. Use the Excel Writer to writeyour file to the createdtemporary locationuse the flow variable "output"for the path. 3. Use the Row Filternode to filter the rows,which were selectedby the user from thetile view 4. Use the Breakpointnode to fail if the Tablefrom the Row filter node isempty (=user did not selectany rows) 2. Add a Header to theview by inserting thecomponent "Data AppHeader" from theKNIME Hub halt if no data is selected Generic File Upload RDKit From Molecule Row Filter Try (Data Ports) Catch Errors(Data Ports) Breakpoint Download File Excel Writer Column Filter Create Temp Folder Variable Creator Single View

Nodes

Extensions

Links