aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2025-05-28Bug: Fix actual data value, not result set.Frederick Muriuki Muriithi
2025-05-28Bug: Add missing commas.Frederick Muriuki Muriithi
2025-05-28Maintain single list of tables — build logs and query from listFrederick Muriuki Muriithi
Maintain a list of tables to lock when running the script and build the logging messages, and lock query from the list for easier maintenance.
2025-05-28Add missing import.Frederick Muriuki Muriithi
2025-05-28Pass path to bundle extraction dir, and make paths relative to it.Frederick Muriuki Muriithi
Pass the path where the bundle was extracted to the function doing the work. Make the paths for the files being used be relative to the extraction directory thus passed.
2025-05-19Extract the bundle first.Frederick Muriuki Muriithi
2025-05-19Add "Publication" table to locked tables.Frederick Muriuki Muriithi
2025-05-19Bug: Connection objects do not have execute() function.Frederick Muriuki Muriithi
2025-05-19Fix generic bugsFrederick Muriuki Muriithi
2025-05-19Import missing symbols.Frederick Muriuki Muriithi
2025-05-19Cross-reference phenotypes, publications, and data.Frederick Muriuki Muriithi
2025-05-19Retrieve publication first.Frederick Muriuki Muriithi
2025-05-19Simplify handling of publications: Assume a maximum of one.Frederick Muriuki Muriithi
Adding publication details in the R/qtl2 bundle might not be an easy thing, so for now, assume all the phenotypes uploaded in a particular session are all published in one publication.
2025-05-19Add placeholder stub to be implemented later.Frederick Muriuki Muriithi
2025-05-19Add some notes for later.Frederick Muriuki Muriithi
2025-05-19Save numeric/computational data for phenotypes.Frederick Muriuki Muriithi
2025-05-19Retrieve samples' details from the database.Frederick Muriuki Muriithi
2025-05-19Use correct files for basic phenotypes data. Add notes to self.Frederick Muriuki Muriithi
The basic phenotype data will be in files under the key "gn-metadata" -> "pheno". We support the possibility of having some descriptions in the "phenocovar" files, since that can happen also.
2025-05-19Rework order of execution of potential steps.Frederick Muriuki Muriithi
2025-05-19Cleanup function call.Frederick Muriuki Muriithi
2025-05-19Fetch next available PublishXRef.DataId value for the phenotypes.Frederick Muriuki Muriithi
2025-05-19Save the basic phenotypes data into the database.Frederick Muriuki Muriithi
2025-05-19Pass Connection rather than Cursor: Transaction is maintained.Frederick Muriuki Muriithi
The idea is that all the data is saved to the database in a single transaction, rather than in bits that could lead to data inconsistencies. As it were, simply passing the connection object, and letting each function create its own cursor will still allow the transaction to be maintained and will not necessitate the refactor of multiple already existing functions.
2025-05-19Initialise function to save publicationsFrederick Muriuki Muriithi
Do a rudimentary save of the publications: this is incomplete and probably very buggy.
2025-05-12Wireframe saving the data into the database.Frederick Muriuki Muriithi
2025-05-12Print out progress to STDOUT.Frederick Muriuki Muriithi
2025-05-12Pass in the logger, rather than the name of the logger.Frederick Muriuki Muriithi
2025-05-12Handle exceptions within the `with` to prevent silent failureFrederick Muriuki Muriithi
One, or both of the context managers is "swallowing" exceptions, leading to silent failures. This change manually handles the exceptions within the context manager to avoid such silent failures.
2025-05-12Allow lowercase versions of the log-level choices.Frederick Muriuki Muriithi
2025-05-05Init setup and script for async job to load phenotypes into databaseFrederick Muriuki Muriithi
2025-04-25Handle exceptions explicitlyFrederick Muriuki Muriithi
Handle any thrown exceptions explicitly to prevent the `with` statement from swallowing them, leading to silent failure of the script.
2025-04-14Setup module-level loggers.Frederick Muriuki Muriithi
2025-04-14Compute data differences in the script.Frederick Muriuki Muriithi
2025-04-14Convert values to float where present.Frederick Muriuki Muriithi
2025-04-14Move difference computation to `run()` function.Frederick Muriuki Muriithi
2025-04-14Update existing linked publication(s) rather than creating new.Frederick Muriuki Muriithi
2025-04-14Compute new PubMed IDs.Frederick Muriuki Muriithi
2025-04-14Update imports.Frederick Muriuki Muriithi
2025-04-14Compute differences with tested function.Frederick Muriuki Muriithi
2025-04-14Move code to save new publications to database.Frederick Muriuki Muriithi
2025-04-11Move code to fetch phenotype publications from DB to publications package.Frederick Muriuki Muriithi
2025-04-11Move code to fetch publications from pubmed to publications module.Frederick Muriuki Muriithi
2025-04-09Convert PubMed_ID value from file to intFrederick Muriuki Muriithi
2025-04-09Compute publications differences.Frederick Muriuki Muriithi
2025-04-09Save new publications retrieved from NCBI's PubMed database.Frederick Muriuki Muriithi
2025-04-09Retrieve publication information from NCBI.Frederick Muriuki Muriithi
2025-04-09Fix typo.Frederick Muriuki Muriithi
2025-04-09Check whether there are new PubMed IDs before beginning the fetch.Frederick Muriuki Muriithi
2025-03-26Pass PubMed IDs from the file to difference computation function.Frederick Muriuki Muriithi
2025-03-26Add function to compute publication differences.Frederick Muriuki Muriithi