aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
6 hoursWireframe saving the data into the database.HEADmainFrederick Muriuki Muriithi
9 hoursPrint out progress to STDOUT.Frederick Muriuki Muriithi
9 hoursPass in the logger, rather than the name of the logger.Frederick Muriuki Muriithi
9 hoursHandle 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.
9 hoursAllow lowercase versions of the log-level choices.Frederick Muriuki Muriithi
7 daysInit 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
2025-03-26Partial implementation: Fetch publications from NCBI.Frederick Muriuki Muriithi
2025-03-26Fetch existing publications from the database.Frederick Muriuki Muriithi
2025-03-26Compute differences in the descriptions.Frederick Muriuki Muriithi
2025-03-26Replaces empty strings with NoneFrederick Muriuki Muriithi
2025-03-26Collect IDs once at the top-level call to save on iterations.Frederick Muriuki Muriithi
2025-03-26Check whether the IDs are valid.Frederick Muriuki Muriithi
2025-03-25Add function to read the file and do basic data processing.Frederick Muriuki Muriithi
2025-03-25Initialise background script to handle bulk edits.Frederick Muriuki Muriithi
2025-01-28Remove 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-23Ensure names are lowercase for comparison purposes.Frederick Muriuki Muriithi
2024-12-03Fix some linting and mypy issues.Frederick Muriuki Muriithi
2024-12-03Improve error textFrederick Muriuki Muriithi
Move the list to the end of the text to make it easier to clip text in the UI.
2024-12-03Update file metadata using a mappingFrederick 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-03Provide consistent way to build file-specific fully-qualified keysFrederick Muriuki Muriithi
2024-12-03Save 'pheno' errors in redis as they are found.Frederick Muriuki Muriithi
2024-12-03Add some phenocovar metadata.Frederick Muriuki Muriithi
2024-12-03Save phenocovar errors in redis as they are found.Frederick Muriuki Muriithi
2024-12-03Pass the redis connection and fully qualified job idFrederick 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-03Wrap 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-02Fix typo.Frederick Muriuki Muriithi
2024-12-02Send logs to STDOUT too.Frederick Muriuki Muriithi
2024-12-02Return 0 on completion of QC processing.Frederick Muriuki Muriithi
2024-12-02Change 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-22Use 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.