Age | Commit message (Collapse) | Author |
|
* gn3/db/traits.py (update_sample_data): New function.
* tests/unit/db/test_traits.py: New test cases for ^^.
|
|
|
|
* gn3/db/__init__.py (update_raw): New function.
|
|
|
|
|
|
|
|
|
|
|
|
* gn3/db/phenotypes.py (Probeset): New dataclass.
(probeset_mapping): New dict.
* gn3/db/__init__.py: Add probeset_mapping and Probeset.
|
|
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
* gn3/db/species.py (get_chromosome): New function.
|
|
|
|
|
|
|
|
|
|
|
|
|