aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2024-03-29Quiet linter.Frederick Muriuki Muriithi
2024-03-29Add UI to select/create tissue.Frederick Muriuki Muriithi
2024-03-22Notify user if identifiers are not consistent.Frederick Muriuki Muriithi
2024-03-22Map names in files to names in database.Frederick Muriuki Muriithi
2024-03-22Fix linting issue.Frederick Muriuki Muriithi
2024-03-21Improve channel definition documentation.Frederick Muriuki Muriithi
2024-03-20Use `url_for` to get icon.Frederick Muriuki Muriithi
2024-03-20Fix bug: correctly merge standard-error values in file to data in db...`read_datavalues(…)` function returns a dict of the form: ``` { ProbeSetName01: ({…}, …), ProbeSetName02: ({…}, …), ︙ } ``` Previously, the generator would thus try to index into the keys of the datavalues, which were strings, leading to an error. This commit changes the generator to return the values of the datavalues dict as a flattened list of values. Frederick Muriuki Muriithi
2024-03-19Set up application logging.Frederick Muriuki Muriithi
2024-03-19Add debugging statements to track upload of R/qtl2 bundle.Frederick Muriuki Muriithi
2024-03-19Query by `Id` rather than `ProbeFreezeId`...Previously `ProbeFreezeId` was set as 1 more than the largest `Id` value found, which might not end up being the same as the incremented Id. This commit, thus, queries by `Id` which is more robust, and does an actual update for the `ProbeFreezeId` column to make it same value as `Id`. Frederick Muriuki Muriithi
2024-03-15Move defaults settings into qc_app module.Frederick Muriuki Muriithi
2024-03-14Update symbolic link...The module file was changed but the link to it was not updated. This commit fixes that. Frederick Muriuki Muriithi
2024-03-12Build up correct path to default settings...The assumption has been that the application will be started in the root of the repository, and uses that to source the default settings. It is, however, possible that the application is started in a totally different working directory, which leads to an error during startup. This commit sources the default settings relative to a know file, in this case the module __init__.py file for qc_app module. Frederick Muriuki Muriithi
2024-03-11Rename moduleFrederick Muriuki Muriithi
2024-03-11Fix package name: gnqc-py to gn-uploaderFrederick Muriuki Muriithi
2024-03-11Add guix-past as a channel dependencyFrederick Muriuki Muriithi
2024-03-11Make guix-bioinformatics a dependency for this channel.Frederick Muriuki Muriithi
2024-03-08Update packaging and distribution declarations.Frederick Muriuki Muriithi
2024-03-08Rename package for guixFrederick Muriuki Muriithi
2024-03-04Use `Id` rather than `ProbeFreezeId`.Frederick Muriuki Muriithi
2024-03-04Display flash messages correctly.Frederick Muriuki Muriithi
2024-02-28tests: test with just the message - don't include markup...Markup can, and will change as improvements are made, but the error messages will not change that often, plus that is what we want to actually test for, not the markup. Frederick Muriuki Muriithi
2024-02-28tests: Update unit tests: remove use of obsoleted functions.Frederick Muriuki Muriithi
2024-02-28Remove last vestiges of flask's "instance path" configurations.Frederick Muriuki Muriithi
2024-02-28Fix bug: fetch from cursor, not return from cursor.execute(…)load-raw-data-no-parsingFrederick Muriuki Muriithi
2024-02-27Remove use of instance path in configurations.Frederick Muriuki Muriithi
2024-02-21Check that samples/cases are consistent...Ensure that **ALL** samples/cases/individuals mentioned in any of the pheno files actually exist in at least one of the geno files. Frederick Muriuki Muriithi
2024-02-21Pass 'filename' value to error checker function.Frederick Muriuki Muriithi
2024-02-20Track filename in the errors...R/qtl2 bundles can contain more than one file, of the same type. When errors are encountered in any of the files, we need to be able to inform the user which file it is, in addition to the line and column number. Frederick Muriuki Muriithi
2024-02-20Generalise fetching of samples/cases/individuals.Frederick Muriuki Muriithi
2024-02-20Read samples from geno file.Frederick Muriuki Muriithi
2024-02-20Read each file separately...Provide the function 'read_file_data' in the 'r_qtl.r_qtl2' module to read each file in the bundle separately. The function 'file_data' in the 'r_qtl.r_qtl2' module reads *ALL* the files of a particular type (e.g. geno files) and returns a single generator object with the data from *ALL* the files. This does not render itself very useful for error checking. We needed a way to check for errors, and report them for each and every file in the bundle, for easier tracking and fixing. Frederick Muriuki Muriithi
2024-02-20Stand-alone function to read control file...Add a function that, given the path to the zip file, will read the control data. It creates its own context manager. Frederick Muriuki Muriithi
2024-02-16Replace genotype codes with values in control file.Frederick Muriuki Muriithi
2024-02-16Convert missing value codes to NoneFrederick Muriuki Muriithi
2024-02-16Strip comment lines.Frederick Muriuki Muriithi
2024-02-16Read raw text data from a file in the zip bundleFrederick Muriuki Muriithi
2024-02-16Documentation: Add section on configurations.Frederick Muriuki Muriithi
2024-02-15Filter out NULL valuesFrederick Muriuki Muriithi
2024-02-15Refactor checking for user input errors.Frederick Muriuki Muriithi
2024-02-15Only log out information if the check is actually run.Frederick Muriuki Muriithi
2024-02-15Verify that the file actually exist...In case a filename is provided, verify that the file actually exists in the upload directory. Frederick Muriuki Muriithi
2024-02-15Provide only the file name, not full path....There are 2 reasons to provide only the filename and not the full path: * Security: We do not want to inadvertently expose the paths to the outside world, or allow users to enter file system paths for this system. * The code does not assume a complete path, rather, it builds the path to the upload directory using the filename received from the user. Frederick Muriuki Muriithi
2024-02-15Provide the log messages to the status page.Frederick Muriuki Muriithi
2024-02-14Provide endpoint to send data to.Frederick Muriuki Muriithi
2024-02-14Extract upload progress indication code...* Extract the UI elements and code for indicating upload progress into separate, reusable "modules". * Fix bugs arising from changes. Frederick Muriuki Muriithi
2024-02-13Add some parallelism to the QC ChecksFrederick Muriuki Muriithi
2024-02-13Provide nice UI progress indicators.Frederick Muriuki Muriithi
2024-02-13Make "FILE_TYPES" part of public interface for module/package.Frederick Muriuki Muriithi