aboutsummaryrefslogtreecommitdiff
path: root/qc_app/upload
AgeCommit message (Collapse)Author
2024-04-12Add missing return.Frederick Muriuki Muriithi
2024-04-12Consistently check for possibly non-existent dataFrederick Muriuki Muriithi
The "geno-dataset", "tissue", "pheno-study" and "pheno-dataset" data "objects" might not exist for a particular uploaded bundle, so we check in a consistent manner to ensure they are provided when needed.
2024-04-12Provide tissue-id details to probeset dataset templatesFrederick Muriuki Muriithi
2024-04-08Add logging for IntegrityErrorFrederick Muriuki Muriithi
2024-04-08Refactor: Make error-checking more robustFrederick Muriuki Muriithi
Rather than maintaining a dictionary of possible error-checking functions, this commit allows passing in the error-checking functions necessary for each point. This makes the code easier to extend by simply defining a new error-checking function and passing it in to the error-checking "driver".
2024-04-08Fix pylint and mypy errors.Frederick Muriuki Muriithi
2024-04-08bug: UI: Provide better error messaging.Frederick Muriuki Muriithi
2024-04-08bug: Handle IntegrityError: Studies cannot have same name.Frederick Muriuki Muriithi
2024-04-08bug: Check that Genotype dataset name is not duplicated.Frederick Muriuki Muriithi
2024-04-05Handle exceptions creating ProbeSet datasets.Frederick Muriuki Muriithi
2024-03-29Add UI to select/create tissue.Frederick Muriuki Muriithi
2024-03-19Add debugging statements to track upload of R/qtl2 bundle.Frederick Muriuki Muriithi
2024-02-15Refactor checking for user input errors.Frederick Muriuki Muriithi
2024-02-15Verify that the file actually existFrederick Muriuki Muriithi
In case a filename is provided, verify that the file actually exists in the upload directory.
2024-02-15Provide only the file name, not full path.Frederick Muriuki Muriithi
There are 2 reasons to provide only the filename and not the full path: * Security: We do not want to inadvertently expose the paths to the outside world, or allow users to enter file system paths for this system. * The code does not assume a complete path, rather, it builds the path to the upload directory using the filename received from the user.
2024-02-15Provide the log messages to the status page.Frederick Muriuki Muriithi
2024-02-13Provide nice UI progress indicators.Frederick Muriuki Muriithi
2024-02-12Check for errors in the 'phenose' file.Frederick Muriuki Muriithi
2024-02-12Collect and display errors on 'geno' files in the bundle.Frederick Muriuki Muriithi
2024-02-12UI: Provide QC successful results pageFrederick Muriuki Muriithi
2024-02-12Retrive and display generic bundle errorsFrederick Muriuki Muriithi
Implement the first QC check for generic errors e.g. missing files in bundle, etc. Display retrieved errors on UI.
2024-02-12Raise error if file is missing rather than returning a Union value.Frederick Muriuki Muriithi
2024-02-12R/qtl2 QC: Set up scaffolding for QC UIFrederick Muriuki Muriithi
Set up the scaffolding for the flows and UI that will be used when running QC against the uploaded R/qtl2 bundle. This will be fleshed out later, and the UI is likely to change somewhat, down the line.
2024-02-07ShortName is optional, remove check and set defaultFrederick Muriuki Muriithi
The ShortName is optional, and can be set to the same value as Name. This commit removes the check that made it mandatory.
2024-02-07Prevent infinite redirect.Frederick Muriuki Muriithi
2024-02-07Fix error display: setup correct error classFrederick Muriuki Muriithi
2024-02-06Bug: Fix routing issuesFrederick Muriuki Muriithi
Fix the routing issues that were redirecting the flow to the wrong endpoints.
2024-02-05Fix linting and type errors.Frederick Muriuki Muriithi
2024-02-05Do general bundle validation and show errorsFrederick Muriuki Muriithi
* Display any and all errors on the UI * Move `validate_bundle` to QC module and refactor to use `missing_files`
2024-01-23Update scripts to use redis prefix.Frederick Muriuki Muriithi
2024-01-22scripts: Pass in logger to get detailed updates.Frederick Muriuki Muriithi
2024-01-22UI: Show progress of R/qtl2 bundle processing.Frederick Muriuki Muriithi
2024-01-19scripts: Process R/qtl2 bundleFrederick Muriuki Muriithi
Build script to start the processing of the R/qtl2 bundle.
2024-01-18UI: Display summary information.Frederick Muriuki Muriithi
2024-01-18UI: Create new ProbeSet dataset.Frederick Muriuki Muriithi
2024-01-18UI: Select from existing ProbeSet datasets.Frederick Muriuki Muriithi
2024-01-18Create new ProbeSet study.Frederick Muriuki Muriithi
2024-01-17UI: Select ProbeSet study.Frederick Muriuki Muriithi
2024-01-17UI: Implement creating new genotype datasets.Frederick Muriuki Muriithi
2024-01-17UI: Initialise summary page.Frederick Muriuki Muriithi
2024-01-17Enable selecting from existing genotype datasets.Frederick Muriuki Muriithi
2024-01-17Update flash-messages' categories.Frederick Muriuki Muriithi
2024-01-16UI: Create UI for creating a new Genotype dataset.Frederick Muriuki Muriithi
2024-01-16UI: Create UI to select from existing genotype datasets.Frederick Muriuki Muriithi
2024-01-16Create intermediate stepFrederick Muriuki Muriithi
We do not have the option to modify the request and then redirect with the modification in place. To go around that, this commit creates an intermediate step that informs the user of their progress, while allowing us to store the filename for future steps.
2024-01-08Fix errors with types.Frederick Muriuki Muriithi
2024-01-08Upload R/qtl2 zip bundle and check for errors.Frederick Muriuki Muriithi
2024-01-08Implement "create-population" route.Frederick Muriuki Muriithi
2024-01-08Implement "POST" path for "select-population" route.Frederick Muriuki Muriithi
2024-01-08Use extracted functions and fix bugsFrederick Muriuki Muriithi