Age | Commit message (Collapse) | Author |
|
take dataset as an optional argument (to avoid having to pointlessly create it)
|
|
|
|
|
|
See: https://is.gd/pL7IJF
Ran:
find . \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/(object)//g'
|
|
* wqflask/base/trait.py (jsonable_table_row): Delete it.
|
|
necessary for them to show up correctly when selecting traits from collections in pop-up windows, like when selecting cofactors for mapping)
|
|
resulting from a trait missing both pre_publication_description and pubmed ID
|
|
|
|
|
|
|
|
and added an assert that 'name' is passed instead of using if/else, since it should always be passed
|
|
Feature/corr table changes
|
|
for genotype/snp cofactors (the code previously only accounted for
probeset/phenotype cofactors, so it was treating genotypes/snps like
phenotype traits)
|
|
cofactors were genotypes (because it tried to get the
"description_display" which doesn't exist for genotype traits)
|
|
ID for the purposes of showing pre-publication abbreviation/description
|
|
|
|
* wqflask/wqflask/wgcna/wgcna_analysis.py: Apply pep8
* wqflask/wqflask/collect.py: Ditto
* wqflask/base/trait.py: Ditto
|
|
* wqflask/base/trait.py (retrieve_trait_info): Add extra param to
ignore errors such as: "utf-8 codec can't decode byte 0xb5 in position
0: invalid start byte" thrown in Python3.
|
|
|
|
github.com:BonfaceKilz/genenetwork2 into build/python3-migration
|
|
* 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 (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)"
|
|
* wqflask/base/trait.py (retrieve_trait_info): Convert "target_string"
to a str, otherwise an exception will be thrown if it's None.
|
|
* wqflask/base/trait.py: Apply pep8.
* wqflask/utility/authentication_tools.py: Ditto.
|
|
* wqflask/base/trait.py: Remove python2 codecs.BOM_UTF8 methods.
* wqflask/wqflask/search_results.py: Remove utf-8 decode method on string.
|
|
Mysqldb's escape returns a binary string. Use utils.db_tools which adds an extra
step of converting the binary string to a string.
|
|
|
|
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-future>
|
|
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-unicode>
|
|
* wqflask/base/trait.py: Remove unused imports
* wqflask/db/call.py (Bench): Add urllib2 fallback for python2
|
|
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-urllib>
|
|
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-urllib>
|
|
* wqflask/base/trait.py: See
<https://docs.python.org/2/library/2to3.html#2to3fixer-repr>
|
|
Run `2to3-3.8 -f raise -w .`
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-raise>
|
|
Run `2to3-3.8 -f dict -w .`
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-dict> and
<https://stackoverflow.com/questions/17695456/why-does-python-3-need-dict-items-to-be-wrapped-with-list>
|
|
|
|
|
|
|
|
figure out the real solution to that issue
|
|
where a trait is authenticated twice
|
|
|
|
something that automatically inserts resources with default privileges
|
|
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
|