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!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
instead of just the output filename
|
|
|
|
* 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.
|