You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User Story:
As a user, I want to be able to select a specific HyPhy method from a list and run the analysis on my uploaded data file. After the analysis is complete, I want to see the output and be able to view the JSON results.
Acceptance Criteria:
The MethodSelector component should display a list of available HyPhy methods.
Each method in the list should have a "Run" button.
When the user clicks the "Run" button for a specific method, the corresponding method file and its dependencies should be mounted.
The selected method should be executed using the mounted input files.
The output of the method execution should be displayed to the user.
The JSON results should be downloaded, parsed, and stored in the jsonData variable.
The user should be able to view the JSON results.
Tasks:
Add an event handler to the "Run" button in the MethodSelector component to pass the selected method as a parameter.
Implement the runMethod function in the +page.svelte file to handle the execution of the selected method.
Create the getMethodFile function to retrieve the corresponding method file based on the selected method.
Create the getMethodDependencies function to retrieve the dependencies for the selected method.
Update the MethodSelector component in the +page.svelte file to pass the runMethod function as a prop.
Test the functionality by selecting different methods and verifying that the analysis runs successfully and the results are displayed.
Dependencies:
The method files and their dependencies should be available in the specified paths.
Additional Notes:
The placeholders for the method file paths and dependencies need to be replaced with the actual paths.
Error handling should be added to handle cases where the selected method is not supported or if there are any issues during the execution.
Consider adding loading states or progress indicators while the analysis is running.
The text was updated successfully, but these errors were encountered:
User Story:
As a user, I want to be able to select a specific HyPhy method from a list and run the analysis on my uploaded data file. After the analysis is complete, I want to see the output and be able to view the JSON results.
Acceptance Criteria:
jsonData
variable.Tasks:
runMethod
function in the+page.svelte
file to handle the execution of the selected method.getMethodFile
function to retrieve the corresponding method file based on the selected method.getMethodDependencies
function to retrieve the dependencies for the selected method.+page.svelte
file to pass therunMethod
function as a prop.Dependencies:
Additional Notes:
The text was updated successfully, but these errors were encountered: