i-VRESSE / workflow-builder

Graphical interface to build a workflow file
https://i-vresse-workflow-builder.netlify.app/
Apache License 2.0
3 stars 2 forks source link

Short access to already loaded files in workflow builder #146

Open VGPReys opened 4 months ago

VGPReys commented 4 months ago

It would be nice to have an easy way to add a reference file in caprieval when this file has already been added in an other module call.

Currently, having 4 caprieval modules in the same workflow requires to manually go to the 4 of them and search for the reference file.

sverhoeven commented 4 months ago

Using a scenario in the haddock3 webapp you only have to give the reference file once.

To implement here is tricky because file input field does not know about other files already uploaded. This would require something similar whats being done when the schema is rewritten with enums for the chains and residues in a uploaded molecule, but harder as pdb parsing was always from global parameters to node parameters. While *_fname parameters can be in any node. We could rewrite schemas of other nodes with a conditional schema to either pick from list or upload.