aboutsummaryrefslogtreecommitdiff
path: root/uploader
AgeCommit message (Collapse)Author
4 daysAllow a publication to *NOT* have a PubMed ID.HEADmainFrederick Muriuki Muriithi
5 daysCreate a visual separation of fields.Frederick Muriuki Muriithi
5 daysImprove publication fetching for datatables.Frederick Muriuki Muriithi
5 daysImprove logger setup.Frederick Muriuki Muriithi
6 daysLimit 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.
6 daysEnable server-side searching.Frederick Muriuki Muriithi
6 daysSpecify searchable columns.Frederick Muriuki Muriithi
6 daysFix issues caught by linter.Frederick Muriuki Muriithi
6 daysDisplay the success page.Frederick Muriuki Muriithi
6 daysBug: 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.
6 daysPass on the publication to the next job.Frederick Muriuki Muriithi
6 daysBug: Fix logging.Frederick Muriuki Muriithi
6 daysCleanup UI detritus.Frederick Muriuki Muriithi
6 daysProvide handler for `load-new-phenotypes-data` jobs.Frederick Muriuki Muriithi
6 daysProvide generalised success and error handling for the jobs.Frederick Muriuki Muriithi
7 daysOn success, redirect to job status check page.Frederick Muriuki Muriithi
7 daysDisplay the error.Frederick Muriuki Muriithi
7 daysSet loglevel for background job's launcher.Frederick Muriuki Muriithi
12 daysRequest 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.
14 daysSave 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.
14 daysIncrease number of rows per query.Frederick Muriuki Muriithi
14 daysDebug the query: useful to figure out what's happening.Frederick Muriuki Muriithi
14 daysMemory 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
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-05Require that the publication is present.Frederick Muriuki Muriithi
2025-05-05Move previews below each item rather than being in the sidebar.Frederick Muriuki Muriithi
2025-05-05Include the publication when provided.Frederick Muriuki Muriithi
2025-05-05Allow plain text files too.Frederick Muriuki Muriithi
2025-05-02PoC: Use independent module-level loggers with applicationFrederick Muriuki Muriithi
Using flask.current_app.logger for logging in modules leads to the modules requiring an app context, even when the module itself could be used outside of the application. This commit provides a proof-of-concept (really, me finally putting in the effort to figure out logging) for how we could allow independent loggers at the module level, that can then be hooked up to the main logging in the system in question.