aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-12Extract missing files check to external functionFrederick 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-12Provide the key for each file listed in the control file.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-12Provide better error messagingFrederick Muriuki Muriithi
Provide a better error message that can help the user figure out what they did wrong and fix it for themselves instead of the older, cryptic and extremely unhelpful error message.
2024-02-08Generalise error retrieval: extract common structureFrederick Muriuki Muriithi
Extract the common structure into a separate function and pass in checkers that return the errors they find.
2024-02-08Use error objects rather than plain tuple values.Frederick Muriuki Muriithi
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-07Set up limits for inputs in UIFrederick Muriuki Muriithi
2024-02-06Check that pheno values are numerical and at least 3 decimal placesFrederick 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-05Run QC on the 'geno' file in R/qtl2 bundle.Frederick Muriuki Muriithi
2024-02-05Check that data in geno file is validFrederick Muriuki Muriithi
Add a function to ensure the values in the geno files are all listed in the control data under the "genotypes" key.
2024-02-05Add a QC step: Check all listed files existFrederick Muriuki Muriithi
Add a QC step to the R/qtl2 bundle processing - check that all files that are listed in the control file also exist in the bundle.
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-02-05Retrieve list of all files, and list of missing filesFrederick Muriuki Muriithi
Add QC a function to list all files listed in the control file, and another to list only the files missing from the bundle.
2024-02-05Update UI documentationFrederick Muriuki Muriithi
Improve the UI documentation by making it more explicit what each section deals with to help aleviate confusion of what the different features do.
2024-02-02List file types in a single place for easier reuseFrederick Muriuki Muriithi
2024-02-02Ensure control file defaults are set up in code.Frederick Muriuki Muriithi
2024-02-02Bug: Specify DictCursor class to return dict-like resultFrederick Muriuki Muriithi
Without specifying the `cursorclass`, the result is a tuple of the form: ((query_col01_val, query_col02_val, ...), ...) where the ellipsis specify the possibility of more than one of the previous form. We specify the DictCursor class instead so that the form changes to: ({query_col01_name: query_col01_val, ...}, ...) which allows us to pick the value we want with a string index.
2024-01-24Checks: Update code and tests to ensure all checks pass.Frederick Muriuki Muriithi
2024-01-24redis-prefix: update "upload samples" pathFrederick Muriuki Muriithi
2024-01-24redis-prefix: Update "insert data" path.Frederick Muriuki Muriithi
2024-01-24redis-prefix: Update file validation codeFrederick Muriuki Muriithi
Update the file validation script and routes to use the redis prefix for jobs.
2024-01-23Update scripts to use redis prefix.Frederick Muriuki Muriithi
2024-01-23Add prefix to redis keysFrederick Muriuki Muriithi
Since the GNQC application might find itself sharing the same redis server and/or database with other applications, add a prefix to its keys.
2024-01-23Tests: Use prefixes in tests rather than starting redis serverFrederick Muriuki Muriithi
It's easier, and more robust to put the data under a prefix within a redis database rather than try to run a redis server, especially within the test environment. This commit updates the tests to use a redis prefix instead.
2024-01-22UI: Fix some UI bugs.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-20Fetch sample/case names from databaseFrederick Muriuki Muriithi
Fetch the sample/case names from the database rather than from a static file in the repository. Issue: https://issues.genenetwork.org/issues/quality-control/read-samples-from-database-by-species
2024-01-19scripts: Process R/qtl2 bundleFrederick Muriuki Muriithi
Build script to start the processing of the R/qtl2 bundle.
2024-01-19UI: Present entry point for R/qtl2 bundles upload.Frederick Muriuki Muriithi
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-16Build a sha512 hash from the uploaded file's name and timestampFrederick Muriuki Muriithi
Build a sha512 message digest from the file's name and the timestamp of when the file was uploaded. This ensures that the filename is URL-safe, and reduces chances of name conflicts in the upload directory which could lead to data corruption when processing the files and saving the files into the database.