Age | Commit message (Collapse) | Author |
|
* wqflask/base/data_set.py (riset): Delete class method.
|
|
@dataclasses should be used to hold only data. Since dataset only
encapsulates data, re-writing it using a dataclass makes it more
readable and easier to follow.
|
|
|
|
|
|
|
|
* wqflask/base/data_set.py - Fixed issue where there was an error when trying to take the len of the query results when there were no results
|
|
self.datasets property because the group name was used as the key (instead of the group name + "Publish", which is the full dataset name for phenotypes)
* wqflask/base/data_set.py - Set "group_name" as a separate variable from "name" to avoid it being used as the key in self.datasets
|
|
* wqflask/base/data_set.py - TempDataSet class contained some code
referring to the SQL DB, but temp traits aren't stored in the SQL DB anymore
|
|
|
|
* wqflask/base/data_set.py: Delete "create_in_clause", and "mescape" which are
defined in "utility.db_tools"
|
|
|
|
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-future>
|
|
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-unicode>
|
|
datasets
* wqflask/base/data_set.py - Added fetchone() to g.db.execute() which is
what was causing the error
|
|
Run:
```
2to3-3.8 -f imports -w . && \
2to3-3.8 -f imports2 -w .
```
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-imports> and
<https://docs.python.org/2/library/2to3.html#2to3fixer-imports2>
|
|
* wqflask/base/data_set.py: Remove usage of "reaper" to load datasets
|
|
Run `2to3-3.8 -f idioms -w .`
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-idioms>
|
|
Run `2to3-3.8 -f itertools -w . && 2to3-3.8 -f itertools_imports -w .`
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-itertools_imports>
and <https://docs.python.org/2/library/2to3.html#2to3fixer-itertools>
|
|
* wqflask/base/data_set.py (Dataset):
- Add set_dataset_key
- Remove __call__ method
|
|
* wqflask/base/data_set.py (DatasetType): Use object's redis instance
|
|
Build/add tests
|
|
|
|
* wqflask/base/data_set.py(DatasetType):
- Rename Redis instance to r to avoid confusion and name collisions
- Inject the redis instance into Dataset_Types class to make it easier to test
- Rename Dataset_Types class to DatasetType class
|
|
* wqflask/base/data_set.py: Apply autopep-8
|
|
|
|
correlation or mapping
|
|
|
|
|
|
|
|
indefinitely
|
|
instead of the JSON file without breaking things
|
|
|
|
|
|
when they're in search results
|
|
|
|
|
|
to how it decides which mapping methods to display on the trait page
|
|
subset of samples/strains
Also filtered the results used by Christian's genome browser, so now it should have an easier time loading when dealing with larger numbers of markers
|
|
|
|
ordering phenotype results from searches
|
|
avoid having to restart each time a new dataset is added. Will need to keep an eye out for any issues, but doesn't seem to affect speed much
Fixed logic for UniProt link to use UniProtId instead of protein ID
|
|
|
|
Phenotypes name when there's no accession ID
|
|
correctly in certain situations
|
|
json file
Removed option to edit certain html pages, like news, policies, etc
|
|
work for that now)
Fixed position digits and row highlighting on interval analyst table
Updated default MAF to 0.05
Updated footer text
|
|
Fixed links to dataset info pages in search results and correlation results pages
|
|
implementation of the reaper Dataset object doesn't include the addinterval method (so for those situations I still use reaper)
Fixed issue where the last chromosome wasn't displayed for mapping results (though still need to fix issue where points are drawn too far to the right when a specific range is viewed)
|
|
|
|
or add them to a collection from the corr matrix page,
but you can click them and access them from the trait page. I'll add the option to access them from the corr matrix page as well,
but adding the option to change their names might be trickier since they're currently used as their Redis keys. I need some better
way of passing the Redis key around so it can be stored in collections, but this is tricky without changing the structure in ElasticSearch
- Fixed the way temp traits work so you can use them with various functions, like mapping, correlations, network graph, etc
- Fixed some appearance issue where the network graph options were too wide if a trait name was too long
|