Age | Commit message (Collapse) | Author |
|
|
|
* gn3/db/__init__.py (fetchone): Make "WHERE" an Optional arg.
|
|
|
|
|
|
We use prepared statements, so no need to have this.
|
|
|
|
* gn3/db/__init__.py (diff_from_dict): We only use the keys of the dict!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* gn3/db/phenotypes.py (fetchone): New function.
|
|
Maps a string to it's dataclass.
|
|
|
|
|
|
|
|
* gn3/db/phenotypes.py (update_phenotype): Delete it.
(update): New, more general function.
|
|
|
|
See: https://www.py4u.net/discuss/188952
|
|
|
|
|
|
|
|
|
|
* gn3/db/phenotypes.py (Phenotype): New dataclass.
(update_phenotype): New function.
[phenotype_column_mapping]: New variable.
|
|
generate_rqtl_cmd and also made code check if output file already exists (so caching works)
|
|
|
|
instead of just the output filename
|
|
included in the hashes used for filenames
|
|
by itself
|
|
they don't have corresponding values
|
|
|
|
keywords and arguments + account for boolean kwargs without values (like --interval or --covar)
|
|
|
|
command to be run from the command line; used the same pattern as for GEMMA for consistency
|
|
generate_rqtl_cmd which returns the actual command and output path
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* gn3/api/general.py (run_r_qtl): New function.
* gn3/settings.py: New variable.
|
|
Generally avoid naming things with a "utils" prefix/ suffix since it
encourages contributors to dump any new functions there; and over time, as the
code grows, things get messy...
|
|
|