aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
5 daysUse specialised template renderer for phenotypes.Frederick Muriuki Muriithi
Use the specialised template renderer to keep the rendering consistent.
5 daysUI: Remove extraneous text in "View*" pages.Frederick Muriuki Muriithi
5 daysImprove breadcrumbsFrederick Muriuki Muriithi
Update the breadcrumb links such that each will lead back the parent section rather than to generic section pages. This is updated for the relevant parts of the UI.
6 daysPrevent user from continuing on error.Frederick Muriuki Muriithi
6 daysPrevent errors' table header from scrolling away.Frederick Muriuki Muriithi
6 daysHandle common typo likely to exist in control files.Frederick Muriuki Muriithi
12 daysDisplay the files metadata in progress section.Frederick Muriuki Muriithi
12 daysRetrieve job files metadata.Frederick Muriuki Muriithi
12 daysFix some linting and mypy issues.Frederick Muriuki Muriithi
12 daysUI Styling: make table body text slightly smaller.Frederick Muriuki Muriithi
12 daysUI: Clip text that is too long.Frederick Muriuki Muriithi
12 daysImprove error textFrederick Muriuki Muriithi
Move the list to the end of the text to make it easier to clip text in the UI.
12 daysUpdate 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.
12 daysProvide consistent way to build file-specific fully-qualified keysFrederick Muriuki Muriithi
12 daysImprove UI: stdout/stderr outputFrederick Muriuki Muriithi
Add styling to section and limit the height of the content.
12 daysDisplay cell valueFrederick Muriuki Muriithi
Display the cell value to enable the user compare the error message to the actual value, in order to figure out how to fix the error(s).
12 daysImprove UI: Move if check out of tableFrederick Muriuki Muriithi
Create a new section for the errors display, and only display the table if there is at least one error.
12 daysEnable limiting of number of errors to fetch.Frederick Muriuki Muriithi
12 daysSave 'pheno' errors in redis as they are found.Frederick Muriuki Muriithi
12 daysAdd some phenocovar metadata.Frederick Muriuki Muriithi
12 daysFetch a jobs errors from its errors lists.Frederick Muriuki Muriithi
12 daysSave phenocovar errors in redis as they are found.Frederick Muriuki Muriithi
12 daysPass 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.
12 daysCleanup linting and type (mypy) errors.Frederick Muriuki Muriithi
12 daysWrap 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.
13 daysAdd emphasis to important point.Frederick Muriuki Muriithi
13 daysFix typo.Frederick Muriuki Muriithi
13 daysSend logs to STDOUT too.Frederick Muriuki Muriithi
13 daysLaunch job and redirect to job status page.Frederick Muriuki Muriithi
13 daysAdd UI to view status of the job as it runs.Frederick Muriuki Muriithi
13 daysReturn 0 on completion of QC processing.Frederick Muriuki Muriithi
13 daysChange 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-22Remove local code that does db connection.Frederick Muriuki Muriithi
Reuse the code in gn-libs for connecting to the database, rather than using the replicated local code.
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.
2024-11-22Add gn-libs as a dependency.Frederick Muriuki Muriithi
2024-10-24Reduce number of local variables created in function.Frederick Muriuki Muriithi
Use the values in the argparse.Namespace object directly to avoid creating many local variables.
2024-10-24Add `jobid` to extraction directoryFrederick Muriuki Muriithi
Add the job id to help "group" files that belong to the same job.
2024-10-24Check pheno, phenose, and phenonum files with loggingFrederick Muriuki Muriithi
Add logging to the `qc_pheno_file` function so that we get the messages pushed to redis for every file that is being checked for errors.
2024-10-24Check phenocovar files with loggingFrederick Muriuki Muriithi
Build a function-scope logger using the new `scripts.redis_logger.RedisMessageListHandler` log handler to log-out the messages for each phenocovar file being processed in a more thread-safe way.
2024-10-24Fix linting and typing errors.Frederick Muriuki Muriithi
2024-10-24Add a `--loglevel` argument to select loglevel in scriptsFrederick Muriuki Muriithi
To enable selection of log levels within scripts, this commit adds the `--loglevel` argument to the list of arguments that can be passed to scripts.
2024-10-24Parse entire namespace object rather than individual values.Frederick Muriuki Muriithi
2024-10-24Move logger creation to `build_main` functionFrederick Muriuki Muriithi
Since the module-level loggers are built mostly the same, move the creation of the logger to the more general function to reduce repetition.
2024-10-24Add handler to send log messages to specific Redis listFrederick Muriuki Muriithi
Class `RedisMessageListHandler` builds a log handler that pushes any messages logged out to the redis list specified by its `fullyqualifiedkey` argument.
2024-10-24Update Redis prefix settings.Frederick Muriuki Muriithi
2024-10-24Don't compute settings in configuration file.Frederick Muriuki Muriithi
2024-10-23Add documentation on background jobs.Frederick Muriuki Muriithi
2024-10-22Document emergent general QC structure for CSV files.Frederick Muriuki Muriithi
2024-10-22Refactor `qc_pheno_file` and reuse it for different file types.Frederick Muriuki Muriithi
The QC/QA steps taken by the `qc_pheno_file` function are very similar across the "pheno", "phenose" and "phenonum" files. This commit makes the `qc_pheno_file` function a higher-order function and we pass the file-type specific check(s) as a callable (function) to be used for the QC/QA process.
2024-10-22Check for errors in `pheno` files.Frederick Muriuki Muriithi