Age | Commit message (Collapse) | Author | |
---|---|---|---|
6 hours | Wireframe saving the data into the database.HEADmain | Frederick Muriuki Muriithi | |
9 hours | Print out progress to STDOUT. | Frederick Muriuki Muriithi | |
9 hours | Pass in the logger, rather than the name of the logger. | Frederick Muriuki Muriithi | |
9 hours | Handle exceptions within the `with` to prevent silent failure | Frederick 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. | |||
9 hours | Allow lowercase versions of the log-level choices. | Frederick Muriuki Muriithi | |
7 days | Init setup and script for async job to load phenotypes into database | Frederick Muriuki Muriithi | |
2025-04-25 | Handle exceptions explicitly | Frederick Muriuki Muriithi | |
Handle any thrown exceptions explicitly to prevent the `with` statement from swallowing them, leading to silent failure of the script. | |||
2025-04-14 | Setup module-level loggers. | Frederick Muriuki Muriithi | |
2025-04-14 | Compute data differences in the script. | Frederick Muriuki Muriithi | |
2025-04-14 | Convert values to float where present. | Frederick Muriuki Muriithi | |
2025-04-14 | Move difference computation to `run()` function. | Frederick Muriuki Muriithi | |
2025-04-14 | Update existing linked publication(s) rather than creating new. | Frederick Muriuki Muriithi | |
2025-04-14 | Compute new PubMed IDs. | Frederick Muriuki Muriithi | |
2025-04-14 | Update imports. | Frederick Muriuki Muriithi | |
2025-04-14 | Compute differences with tested function. | Frederick Muriuki Muriithi | |
2025-04-14 | Move code to save new publications to database. | Frederick Muriuki Muriithi | |
2025-04-11 | Move code to fetch phenotype publications from DB to publications package. | Frederick Muriuki Muriithi | |
2025-04-11 | Move code to fetch publications from pubmed to publications module. | Frederick Muriuki Muriithi | |
2025-04-09 | Convert PubMed_ID value from file to int | Frederick Muriuki Muriithi | |
2025-04-09 | Compute publications differences. | Frederick Muriuki Muriithi | |
2025-04-09 | Save new publications retrieved from NCBI's PubMed database. | Frederick Muriuki Muriithi | |
2025-04-09 | Retrieve publication information from NCBI. | Frederick Muriuki Muriithi | |
2025-04-09 | Fix typo. | Frederick Muriuki Muriithi | |
2025-04-09 | Check whether there are new PubMed IDs before beginning the fetch. | Frederick Muriuki Muriithi | |
2025-03-26 | Pass PubMed IDs from the file to difference computation function. | Frederick Muriuki Muriithi | |
2025-03-26 | Add function to compute publication differences. | Frederick Muriuki Muriithi | |
2025-03-26 | Partial implementation: Fetch publications from NCBI. | Frederick Muriuki Muriithi | |
2025-03-26 | Fetch existing publications from the database. | Frederick Muriuki Muriithi | |
2025-03-26 | Compute differences in the descriptions. | Frederick Muriuki Muriithi | |
2025-03-26 | Replaces empty strings with None | Frederick Muriuki Muriithi | |
2025-03-26 | Collect IDs once at the top-level call to save on iterations. | Frederick Muriuki Muriithi | |
2025-03-26 | Check whether the IDs are valid. | Frederick Muriuki Muriithi | |
2025-03-25 | Add function to read the file and do basic data processing. | Frederick Muriuki Muriithi | |
2025-03-25 | Initialise background script to handle bulk edits. | Frederick Muriuki Muriithi | |
2025-01-28 | Remove obsoleted script. | Frederick Muriuki Muriithi | |
This script was written before the understanding I gained after the demonstration by @acenteno of how the data upload works. | |||
2025-01-23 | Ensure names are lowercase for comparison purposes. | Frederick Muriuki Muriithi | |
2024-12-03 | Fix some linting and mypy issues. | Frederick Muriuki Muriithi | |
2024-12-03 | Improve error text | Frederick Muriuki Muriithi | |
Move the list to the end of the text to make it easier to clip text in the UI. | |||
2024-12-03 | Update file metadata using a mapping | Frederick Muriuki Muriithi | |
Update the metadata using a mapping rather than updating a field at a time to make it easier to ensure everything is updated in one go. | |||
2024-12-03 | Provide consistent way to build file-specific fully-qualified keys | Frederick Muriuki Muriithi | |
2024-12-03 | Save 'pheno' errors in redis as they are found. | Frederick Muriuki Muriithi | |
2024-12-03 | Add some phenocovar metadata. | Frederick Muriuki Muriithi | |
2024-12-03 | Save phenocovar errors in redis as they are found. | Frederick Muriuki Muriithi | |
2024-12-03 | Pass the redis connection and fully qualified job id | Frederick Muriuki Muriithi | |
Pass the redis connection on to the function used to build main since it might need to use a connection to redis. Also pass the computed fully qualified job id rather than recomputing it every time. Update dependent functions to take the new arguments. | |||
2024-12-03 | Wrap everything in try-catch to handle errors gracefully. | Frederick Muriuki Muriithi | |
Put everything in the build_main function within a try-catch block to ensure we capture all exceptions that might occur in different scripts and log them out. This helps with debugging errors in the asynchronous scripts. | |||
2024-12-02 | Fix typo. | Frederick Muriuki Muriithi | |
2024-12-02 | Send logs to STDOUT too. | Frederick Muriuki Muriithi | |
2024-12-02 | Return 0 on completion of QC processing. | Frederick Muriuki Muriithi | |
2024-12-02 | Change from 'pending' to 'started' on entry to script. | Frederick Muriuki Muriithi | |
Update the status of the job from 'pending' to 'started' at the entry-point of the script. | |||
2024-11-22 | Use gn-libs code for db connection. | Frederick Muriuki Muriithi | |
Use the code in gn-libs to connect to the database, rather than a local module. |