aboutsummaryrefslogtreecommitdiff
path: root/uploader
AgeCommit message (Collapse)Author
4 hoursNarrow search to only uploaded traits.HEADmainFrederick Muriuki Muriithi
35 hoursCollapse the DataTables' viewport if there's less data.Frederick Muriuki Muriithi
2 daysUse 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.
2 daysAdd notification for users that data is not saved yet.Frederick Muriuki Muriithi
2 daysUse pathlib.Path object for file paths.Frederick Muriuki Muriithi
9 daysAllow users to provide transposed files.Frederick Muriuki Muriithi
9 daysFix documentation: The rows and columns were interchanged in docs.Frederick Muriuki Muriithi
2025-06-12Allow a publication to *NOT* have a PubMed ID.Frederick Muriuki Muriithi
2025-06-12Create a visual separation of fields.Frederick Muriuki Muriithi
2025-06-12Improve publication fetching for datatables.Frederick Muriuki Muriithi
2025-06-12Improve logger setup.Frederick Muriuki Muriithi
2025-06-11Limit returned resultsFrederick Muriuki Muriithi
Limit the number of results returned to make page more responsive. This is buggy at this point — it doesn't do exactly what I expect, e.g. when I attempt to scroll, or use pagination, it doesn't actually display all the pages as expected.
2025-06-11Enable server-side searching.Frederick Muriuki Muriithi
2025-06-11Specify searchable columns.Frederick Muriuki Muriithi
2025-06-11Fix issues caught by linter.Frederick Muriuki Muriithi
2025-06-10Display the success page.Frederick Muriuki Muriithi
2025-06-10Bug: The Phenotype datasets need the InbredSet.Name as a prefixFrederick Muriuki Muriithi
The Phenotype datasets need the InbredSet.Name, (not the InbredSet.InbredSetCode) as a prefix for the data to be found and listed in the GeneNetwork menu.
2025-06-10Pass on the publication to the next job.Frederick Muriuki Muriithi
2025-06-10Bug: Fix logging.Frederick Muriuki Muriithi
2025-06-10Cleanup UI detritus.Frederick Muriuki Muriithi
2025-06-10Provide handler for `load-new-phenotypes-data` jobs.Frederick Muriuki Muriithi
2025-06-10Provide generalised success and error handling for the 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
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 aliasesFrederick Muriuki Muriithi
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.
2025-05-28Add javascript debugging function.Frederick Muriuki Muriithi
2025-05-19Handle case where the given publication_id does not exist.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-19Setup log format for the application.Frederick Muriuki Muriithi
2025-05-12Use builtin functions to compute log level.Frederick Muriuki Muriithi
2025-05-12Break "merge file" race-conditionFrederick Muriuki Muriithi
Multiple requests/threads were attempting to merge the same file, leading to race conditions, and sometimes, rarely, it would lead to actual data corruption.
2025-05-12BugFix: Don't scroll to top of page on clicking "Browse" buttons.Frederick Muriuki Muriithi
This fixes the behaviour where clicking the "Browse" buttons on any of the resumable elements, the viewport would scroll to the top of the page.
2025-05-09Use more of the screen width for content on smaller screens.Frederick Muriuki Muriithi
Display only the links and main content on screens smaller than 20 CSS inches — the idea is that laptop screens and smaller will only display the links and the main content, leaving the sidebar content hidden.
2025-05-05Init setup and script for async job to load phenotypes into databaseFrederick Muriuki Muriithi