aboutsummaryrefslogtreecommitdiff
path: root/uploader/phenotypes
AgeCommit message (Expand)Author
2025-07-14Deactivate linter error check.HEADmainFrederick Muriuki Muriithi
2025-07-14Remove comments and demo statements.Frederick Muriuki Muriithi
2025-07-14Fix linting issues.Frederick Muriuki Muriithi
2025-07-14Fix imports•••Remove unused imports, update old imports to newer forms and add missing imports. Frederick Muriuki Muriithi
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 abbreviations•••- Add the description to both the Original and Post-Publication fields. - Set the abbreviation fields to the identifier in the files. Frederick Muriuki Muriithi
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 feature•••The feature is implemented elsewhere (GN2) in a better way. Frederick Muriuki Muriithi
2025-06-30Allow independent transposition of each file•••* 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. Frederick Muriuki Muriithi
2025-06-26Narrow search to only uploaded traits.Frederick Muriuki Muriithi
2025-06-24Use positional parameters rather than named ones.•••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. Frederick Muriuki Muriithi
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 authorisations•••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. Frederick Muriuki Muriithi
2025-06-03Save data with `LOAD DATA INFILE …` query•••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. Frederick Muriuki Muriithi
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 data•••We already have all the data in memory, so we do not need to reload it and keep yet another copy. Frederick Muriuki Muriithi
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.•••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. Frederick Muriuki Muriithi
2025-05-30Add dataset_id and bundle path to job metadata.Frederick Muriuki Muriithi
2025-05-30Fix typo: Fix table name.Frederick Muriuki Muriithi
2025-05-30Bug: Loop until the data is exhausted.Frederick Muriuki Muriithi
2025-05-30Fix typo, and bug.Frederick Muriuki Muriithi
2025-05-30Fix indentation.Frederick Muriuki Muriithi
2025-05-30Use full table names rather than aliases•••Using aliases leads to errors when you have to use table locking to prevent data corruption. This commit updates queries to use the full table names rather than aliases, in order to prevent such troubles. Frederick Muriuki Muriithi
2025-05-19Provide extra metadata to the job.Frederick Muriuki Muriithi
2025-05-19Provide missing URI to the MariaDB database to the script.Frederick Muriuki Muriithi
2025-05-19Add function to save the numerical data for phenotypes.Frederick Muriuki Muriithi
2025-05-12Use builtin functions to compute log level.Frederick Muriuki Muriithi
2025-05-05Init setup and script for async job to load phenotypes into databaseFrederick Muriuki Muriithi
2025-05-05Save/Create new phenotypes in the database.Frederick Muriuki Muriithi
2025-05-05Provide endpoint for loading data after QC is successful.Frederick Muriuki Muriithi
2025-05-05Include the publication when provided.Frederick Muriuki Muriithi
2025-04-21Proceed to jobs status update page.Frederick Muriuki Muriithi
2025-04-21Use module-specific logger.Frederick Muriuki Muriithi
2025-04-21Add "DataId" to top-level trait details.•••The `DataId` is unique in the `PublishXRef` table. Frederick Muriuki Muriithi
2025-04-14Fix typo.Frederick Muriuki Muriithi
2025-04-14Move common fieldnames into exportable variable.Frederick Muriuki Muriithi
2025-04-14Implement difference computations.Frederick Muriuki Muriithi