about summary refs log tree commit diff
path: root/uploader/phenotypes
AgeCommit message (Collapse)Author
5 daysDelete unused function. HEAD mainFrederick Muriuki Muriithi
5 daysFix issues caught by type-checker.Frederick Muriuki Muriithi
7 daysMove phenotypes dataset UI to its own template.Frederick Muriuki Muriithi
7 daysFix linting problems.Frederick Muriuki Muriithi
8 daysMove logic for loading streamlined-UI templates to reusable functionFrederick Muriuki Muriithi
8 daysAdd "Streamlined UI" templates for phenotype upload sub-features.Frederick Muriuki Muriithi
8 daysImplement streamlined UI for phenotypes upload page.Frederick Muriuki Muriithi
8 daysRedirect 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
2025-07-14Fix linting issues.Frederick Muriuki Muriithi
2025-07-14Fix importsFrederick Muriuki Muriithi
Remove unused imports, update old imports to newer forms and add missing imports.
2025-07-14Refactor out common functionality into separate function.Frederick Muriuki Muriithi
2025-07-14Do not enter IDs in files in the description field.Frederick Muriuki Muriithi
2025-07-02Update descriptions and abbreviationsFrederick Muriuki Muriithi
- Add the description to both the Original and Post-Publication fields. - Set the abbreviation fields to the identifier in the files.
2025-07-01Bugfix: The value needs to be a tuple or list.Frederick Muriuki Muriithi
2025-07-01Ignore any optional files that are not provided.Frederick Muriuki Muriithi
2025-07-01Remove unused featureFrederick Muriuki Muriithi
The feature is implemented elsewhere (GN2) in a better way.
2025-06-30Allow independent transposition of each fileFrederick Muriuki Muriithi
* Rework UI to provide independent selection of whether or not each file is transposed * Update the backend code to individually set the transposition status for each file independently.
2025-06-26Narrow search to only uploaded traits.Frederick Muriuki Muriithi
2025-06-24Use positional parameters rather than named ones.Frederick Muriuki Muriithi
Named parameters were causing problems on staging, where the names would be converted into bytestrings and then used to index into the dictionaries, leading to `KeyError` exceptions.
2025-06-24Use pathlib.Path object for file paths.Frederick Muriuki Muriithi
2025-06-17Allow users to provide transposed files.Frederick Muriuki Muriithi
2025-06-10Display the success page.Frederick Muriuki Muriithi
2025-06-10Pass on the publication to the next job.Frederick Muriuki Muriithi
2025-06-10Bug: Fix logging.Frederick Muriuki Muriithi
2025-06-10Provide handler for `load-new-phenotypes-data` jobs.Frederick Muriuki Muriithi
2025-06-10On success, redirect to job status check page.Frederick Muriuki Muriithi
2025-06-10Display the error.Frederick Muriuki Muriithi
2025-06-10Set loglevel for background job's launcher.Frederick Muriuki Muriithi
2025-06-05Request token for use with script to update authorisationsFrederick Muriuki Muriithi
After the script has completed loading the data into the database, the user who uploads the data will need to access the data they've uploaded. This commit requests a new token to use with the script for updating the authorisations as appropriate, to grant the user access to their data.
2025-06-03Save data with `LOAD DATA INFILE …` queryFrederick Muriuki Muriithi
To help speed up the saving of the data (for really huge files) into the database, use the `LOAD DATA INFILE …` command if available, and if not fallback to the one using raw queries.
2025-06-03Increase number of rows per query.Frederick Muriuki Muriithi
2025-06-03Debug the query: useful to figure out what's happening.Frederick Muriuki Muriithi
2025-06-03Memory saving: Don't reload saved dataFrederick Muriuki Muriithi
We already have all the data in memory, so we do not need to reload it and keep yet another copy.
2025-06-02Add some debugging statements.Frederick Muriuki Muriithi
2025-06-02Parametrize the "DataId" column for different tables.Frederick Muriuki Muriithi
2025-06-02Explicitly query for newly entered data.Frederick Muriuki Muriithi
The `cursor.executemany()` call only returned the last row that was inserted, rather than ALL the rows. This is not the correct thing to do, therefore, this commit fixes that by explicitly querying for all the newly entered data.
2025-05-30Add dataset_id and bundle path to job metadata.Frederick Muriuki Muriithi