Age | Commit message (Collapse) | Author |
|
* wqflask/base/data_set/dataset.py: Import itertools, DictCursor, MonadicDict,
Maybe, Nothing and query_sql.
(DataSet.__init__): Initialize accession_id to Nothing.
(DataSet.as_dict): Rename this to ...
(Dataset.as_monadic_dict): ... this which returns a monadic
dictionary.
(DataSet.get_accession_id): Query for the accession_id and return it
as a maybe monad.
|
|
In Jinja, you can use dot notation to check for values. If a value
does not exist, you get None by default.
* wqflask/base/data_set/dataset.py (Dataset.get_accession_id): Remove
returning a string version of None.
* wqflask/wqflask/templates/correlation_page.html: Delete `!= 'None'`.
|
|
* wqflask/wqflask/correlation/show_corr_results.py: Delete os, Path,
TMPDIR, fetch_all_cached_metadata and cache_new_traits_metadata.
* wqflask/wqflask/db_info.py: Remove http.client.
|
|
* wqflask/wqflask/db_info.py: Import DictCursor.
(InfoPage.get_info): Add aliases in SQL that will be used as keys
later by DictCursor..
(process_query_results): Delete it.
|
|
* wqflask/wqflask/db_info.py (InfoPage.get_info): run
cursor.fetchone() only once.
|
|
* wqflask/wqflask/static/new/javascript/dataset_select_menu.js: Delete.
* wqflask/wqflask/static/new/javascript/dataset_select_menu_edit_trait.js:
Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
collection page
I think the Monad stuff Bonface/Arun are doing might address situations
like this better.
|
|
|
|
* Fix imports I broke when rebasing.
|
|
* wqflask/scripts/corr_compute.py: move correlation computation to
external script.
* wqflask/wqflask/templates/loading_corrs.html: Provide UI to display
while computation is still not complete.
* wqflask/wqflask/views.py: Dispatch correlation computation to
external script and display appropriate UI for each valid state of
the computation.
|
|
|
|
* wqflask/utility/tools.py: Output extraneous messages to stderr
rather than stdout to avoid cluttering the output.
|
|
* Pass the user_id for the current user to the
`check_resource_availability` function as an argument, rather than
using the global `g.user_session.user_id` value.
|
|
* wqflask/jobs/__init__.py: New jobs module
* wqflask/jobs/jobs.py: New jobs module
* wqflask/scripts/run_external.py: new external process manager.
|
|
genenetwork2 should be a thin wrapper web UI around the genenetwork3
API. Hence, this move.
* etc/default_settings.py (XAPIAN_DB_PATH): Delete variable.
* wqflask/wqflask/database.py: Remove xapian import.
(xapian_database, xapian_writable_database): Delete functions.
* wqflask/wqflask/gsearch.py: Do not import json, xapian, Nothing from
pymonad.maybe, base, utility.authentication_tools and
wqflask.database. Import MonadicDict from gn3.monads instead of
utility.monads and GN3_LOCAL_URL from utility.tools.
(GSearch.__init__): Query genenetwork3 search API instead of directly
reading a Xapian index.
|
|
The xapian indexing script has been moved to genenetwork3. All further
development will happen there.
* wqflask/scripts/index.py: Delete file.
|
|
|
|
field and is misleading in GN2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Commit 49580eb9cd47bb2ce15fd44be11bb9580d85efef removed the use of
the gn-proxy, but left some code that was used expressly for use
with the gn-proxy. This commit removes that code.
|
|
* The function `generate_corr_json` was not used anywhere in the code.
|
|
* Remove the `/test_corr_compute` endpoint that has been superceded by
the `/corr_compute` endpoint.
|
|
|
|
|
|
doesn't have a position in the DB
|
|
|
|
symbol, and show location or name in the Description column if there's no description
|
|
* wqflask/wqflask/correlation/pre_computes.py: Sanitise the generated
filenames to get rid of characters that have special meanings in a
file path, and other characters that are just a nuisance.
|
|
|
|
|
|
hardcoded into show_trait.build_correlation_tools (+ add BXD-Heart-Metals to that list)
I'm not sure why this logic exists, so it might be removed entirely later. I'm asking Rob
|
|
|
|
Boolean search prefixes are used to filter the result set whereas
non-boolean search prefixes merely contribute to the relevance score
of the document.
* wqflask/wqflask/gsearch.py (GSearch.__init__): Declare all search
prefixes except description as boolean.
|
|
|
|
|
|
|
|
This should fix the issue where horizontal scrolling ruins the header/row alignment
|
|
faster
|