Age | Commit message (Collapse) | Author |
|
|
|
Tests/add extra tests for collections
|
|
* wqflask/wqflask/wgcna/wgcna_analysis.py: Apply pep8
* wqflask/wqflask/collect.py: Ditto
* wqflask/base/trait.py: Ditto
|
|
* 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/trait.py (retrieve_trait_info): If the
description_string or discription_display value return a None object,
evaluate to an empty string. Fixes errors related to *len(None)*.
|
|
* wqflask/base/trait.py: Fixes error parsing error: "(GeneNetwork
error: float argument required, not NoneType)"
|
|
a separate file (initialize_show_trait_tables.js). The biggest
complication was getting the order of attributes in the rows to sync
with the order of atribute namees in the column headers. Previously this
logic was all in the template.
* wqflask/base/webqtlCaseData.py - added attribute first_attr_col as a
very awkward solution to passing the column position into the column
render function in situations where there are case attribute columns
(which can be variable in number)
* wqflask/wqflask/show_trait/show_trait.py - Replace "attribute_names"
in js_data with "attributes" (which allows the JS access to more
information) and also pass new se_exists and
has_num_cases variables with js_data, so the javascript has access to
whether or not those columns exist in the table
* wqflask/wqflask/static/new/javascript/show_trait.js - Change case
attribute-related logic to use js_data.attributes instead of
js_data.attribute_names
* wqflask/wqflask/templates/show_trait.html - Removed table
initialization from template
* wqflask/wqflask/static/new/javascript/initialize_show_trait_tables.js
- new file that initializes tables and reproduces what the template
logic used to do with JS logic
|
|
datasets
* wqflask/base/data_set.py - Added fetchone() to g.db.execute() which is
what was causing the error
|
|
* wqflask/base/webqtlCaseData.py (webqtlCaseData):
- Remove obsolete 'Object' from Class inheritance
- Replace 'str' with 'case_data_string' variable- it collides with python in-builts
- Use pythonic 'is Not None' form
- Remove redundancy in 'if' forms
- Update copyright header
|
|
* 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/GeneralObject.py(__getattr__): remove if statement that is
unreachable
|
|
* 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
|
|
* wqflask/base/GeneralObject.py: Replace tabs with 4 spaces
|
|
|
|
|
|
|
|
|
|
|
|
figure out the real solution to that issue
|
|
where a trait is authenticated twice
|
|
|
|
something that automatically inserts resources with default privileges
|
|
correlation or mapping
|
|
and also simplified the check_owner_or_admin function a little
|
|
|
|
|
|
|
|
|
|
- Now use proxy to pull trait data and hide traits/results that the user
doesn't have view permission for
- Created a factory method for creating trait ob so it can return None
when user doesn't have view permissions (this is why such a large number
of files are changed)
- Added metadata to permutation export
- Added current group management code
- Added fixed password verification e-mail code
|
|
queries and a missing import for the hmac functions
|
|
though later I need to go through and redo a bunch of CSS stuff
|
|
|
|
|
|
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
|
|
|
|
|