about summary refs log tree commit diff
path: root/uploader/phenotypes
AgeCommit message (Collapse)Author
7 daysUpdate genotype/phenotype/sample job call sites for keyword metadataFrederick Muriuki Muriithi
`initialise_job` now takes metadata as keyword arguments, so replace the `extra_meta={...}` arguments with `**{...}` at the gn-libs job call sites. Co-authored-by: pi coding agent <pi@pi.dev>
13 daysUnify missing-value symbol parsing in r_qtl.utilspi coding agent
Move `parse_missing_values_symbols` from the genotypes views into `r_qtl.utils` and use it in the genotypes Stage 01 collector config and the phenotypes individual-file uploads, replacing their divergent inline splits with the more robust whitespace/comma parsing. Move the tests to `tests/r_qtl/test_utils.py`.
2026-10-22Reuse the shared resolver for phenotype uploadspi coding agent
Replace the hand-rolled resumable/direct branching in `process_phenotypes_individual_files` with `resolve_uploaded_file`, fixing several bugs in the direct-upload path: - optional files uploaded directly were skipped because presence was only checked in `request.form`, never in `request.files`; - `request.files[formkey]` raised `BadRequestKeyError` for a missing file, making the friendly error branch unreachable; - malformed/missing resumable data raised unhandled exceptions; - the absolute path from `save_file` was unnecessarily re-prefixed with the uploads directory. Use the returned original name (basename) as the zip arcname and in the control data, so both stay consistent.
2026-10-22Update references to the moved scripts packagepi coding agent
The `scripts` package now lives under `uploader`, so update every reference from `scripts.<...>` to `uploader.scripts.<...>`: Python imports, `-m` command module strings, logging module names, test imports, CLI/gunicorn entry points, lint/guix paths and the WIP documentation. Note: the untracked `run-dev-flask.sh` and `run-dev-gunicorn.sh` helper scripts still need their entry-point module updated manually.
2026-10-01Have consistent interface for "dataset_by_id" functions.Frederick Muriuki Muriithi
2026-09-04Remove duplicate decorator -- Use higher-order function.Frederick Muriuki Muriithi
Remove the duplicate decorator function and in its place, use the higher-order function which takes the function to use to retrieve the dataset.
2026-04-16Attach publication details to each phenotype trait.Frederick Muriuki Muriithi
2026-04-09Add a comment note on phenotype resources.Frederick Muriuki Muriithi
2026-04-09Prompt user for a name for the resource object.Frederick Muriuki Muriithi
2026-03-09Enable download of list of errors.Frederick Muriuki Muriithi
2026-02-18Type-Checking: Add type hints for variable.Frederick Muriuki Muriithi
2026-02-18Lint: Disable some checks for specific functions.Frederick Muriuki Muriithi
2026-02-18Lint: Add docstrings for functions.Frederick Muriuki Muriithi
2026-02-06Fix flash message class.Frederick Muriuki Muriithi
2026-01-30Fetch and display actual details for phenotypes being deleted.Frederick Muriuki Muriithi
2026-01-30Narrow selection if cross-reference IDs are provided.Frederick Muriuki Muriithi
2026-01-30Implement UI logic to trigger phenotype deletion job.Frederick Muriuki Muriithi
2026-01-27Handle big deletes: Delete in batches.Frederick Muriuki Muriithi
Do avoid locking up the database server, or leading to sluggishness when doing huge deletes, do the deletions in chunks, with a tiny delay between each delete to free up the server.a See https://mariadb.com/docs/server/ha-and-performance/optimization-and-tuning/query-optimizations/big-deletes
2026-01-26Provide some utilities to fetch common config variables.Frederick Muriuki Muriithi
2026-01-26Replace TEMPORARY_DIRECTORY with SCRATCH_DIRECTORYFrederick Muriuki Muriithi
Avoid using the terminology "TEMPORARY_DIRECTORY" which encourages use of the shared global mutable state in /tmp, that we want to move away from. Instead, we use "SCRATCH_DIRECTORY" which is an explicit specified directory for state needed for and by the gn-uploader application.
2026-01-26Outline deletion: Create scaffolding for idea.Frederick Muriuki Muriithi
2026-01-23Add initial placeholder UI to confirm deletion.Frederick Muriuki Muriithi
2026-01-23Initialise UI for deletion of phenotypes.Frederick Muriuki Muriithi
2026-01-23Add function to delete phenotypes completely.Frederick Muriuki Muriithi
2026-01-23Add function to delete numeric data for phenotypes.Frederick Muriuki Muriithi
2026-01-23Use correct classes for type-hints.Frederick Muriuki Muriithi
2026-01-08Bug: Move, and fix fetching of logged in user's ID.Frederick Muriuki Muriithi
2026-01-07Link background jobs to user.Frederick Muriuki Muriithi
2025-12-29Phenotypes: Move feature to new UI templates.Frederick Muriuki Muriithi
2025-12-19Delete unused function.Frederick Muriuki Muriithi
2025-12-19Fix issues caught by type-checker.Frederick Muriuki Muriithi
2025-12-17Move phenotypes dataset UI to its own template.Frederick Muriuki Muriithi
2025-12-17Fix linting problems.Frederick Muriuki Muriithi
2025-12-16Move logic for loading streamlined-UI templates to reusable functionFrederick Muriuki Muriithi
2025-12-16Add "Streamlined UI" templates for phenotype upload sub-features.Frederick Muriuki Muriithi
2025-12-16Implement streamlined UI for phenotypes upload page.Frederick Muriuki Muriithi
2025-12-16Redirect to "View Populations" pageFrederick Muriuki Muriithi
While the streamlined UI is under construction, redirect the request back to the "View Population" page for the time being, until the UI requirements have been figured out.
2025-12-10Feature Flags: Generically deal with HTTP-based feature flags.Frederick Muriuki Muriithi
* Define a default `FEATURE_FLAGS_HTTP` configuration variable that's an empty list to help defining http-based feature flags that can be used to turn on/off features * Build macro to include hidden fields for feature flags where necessary. * Extend flask's `url_for` function to deal with defined feature flags in a mostly transparent way
2025-12-03Rerun QTLReaper script with provided details.Frederick Muriuki Muriithi
2025-11-19Add function to retrieve vector data for phenotypes from the db.Frederick Muriuki Muriithi
2025-11-05Fix issues caught by linter.Frederick Muriuki Muriithi
2025-11-05Add success handler for recompute phenotypes means jobs.Frederick Muriuki Muriithi
2025-11-05Enable (re)compute of phenotype means by users.Frederick Muriuki Muriithi
2025-11-03Use new "redirection-to-next" utilities.Frederick Muriuki Muriithi
2025-11-03Improve UI to enable editing publication details.Frederick Muriuki Muriithi
2025-10-13Fix linting errors.Frederick Muriuki Muriithi
2025-08-25Create and cross-reference phenotypesFrederick Muriuki Muriithi
Update `create_new_phenotypes` function to create the phenotypes and cross-reference them to their populations, publications, and groups in one transaction to ensure consistency.
2025-08-25Preprocess phenotype data and return normalised form.Frederick Muriuki Muriithi
2025-07-14Deactivate linter error check.Frederick Muriuki Muriithi
2025-07-14Remove comments and demo statements.Frederick Muriuki Muriithi