Created a button for downloading a template SEL file from a given protocol and its endpoints.
Main Additions:
Created an API route that creates a template SEL file for a given protocol (/api/getTemplateSELFile)
Added UI element to generate and download template SEL file from Protocol editor and Protocol Browser
Other:
Refactored endpoint management code to only pull data related experiments associated with the protocol once, and re-use it instead of making multiple calls
Fixed bug where when a row was clicked on in the endpoint manager, the filtering of associated experiments with that endpoint wasn't working properly. Caused by using stringValue instead of codeValue to check data.
How Has This Been Tested?
Examples of download template button in Protocol Editor and Browser and and template SEL file from pressing them.
Description
Created a button for downloading a template SEL file from a given protocol and its endpoints.
Main Additions:
Other:
How Has This Been Tested?
Examples of download template button in Protocol Editor and Browser and and template SEL file from pressing them.