aboutsummaryrefslogtreecommitdiff
path: root/wqflask
AgeCommit message (Collapse)Author
2022-07-25Remove Comparison Bar Chart buttonzsloan
2022-07-25Change Interval Analyst genome browser link to use mm10 instead of mm9zsloan
2022-07-25Return config in app.config or NoneFrederick Muriuki Muriithi
Update the code to return the setting already set up in the app.config dictionary if it exists or None if it does not exist.
2022-07-20Add marker hmac to mapping result markers so it can be directly passed to ↵zsloan
the table
2022-07-20Add drawCallback for highlighting selected rows to default tableSettingszsloan
2022-07-20Change mapping results table (minus Interval Analyst) to use new ↵zsloan
create_datatable.js code and load table from JSON row data
2022-07-19Change search_result_page.html to generate its table with create_datatable.jszsloan
2022-07-19Fix issue where customSettings weren't being passed when manually adjusting ↵zsloan
column widths
2022-07-19Added createdRow callback function to custom table settings for Viewzsloan
Collection page Also set a default table width of 2000px
2022-07-19Change JS variables to camelCase and assign ID to table container divzsloan
2022-07-14Remove column toggle JS from show_trait.html since it's in ↵zsloan
initialize_show_trait_tables.js
2022-07-14Call DataTable() on the table id instead of referring to the_table; notzsloan
sure why this is necessary, but the search doesn't work otherwise
2022-07-12Include genotypes for F1s/reference/non-reference strains when fetchingzsloan
sample data for genotype traits
2022-07-11Increase min-width for div containing tool buttons on search pagezsloan
2022-07-08Add python for exporting case attributeszsloan
2022-07-08Add JS for exporting case attributes (sample metadata)zsloan
2022-07-04wqflask: Remove DebugToolbarExtensionBonfaceKilz
This functionality, at least how we use it, is already provided natively in python's pdb. Should someone need this, they can add it manually. * wqflask/runserver.py (app_config): Remove "flask_debugtoolbar" import and instantiation. * wqflask/utility/startup_config.py (app_config): Ditto.
2022-07-04wqflask: use the raw user string if value is non-existent in redisBonfaceKilz
* wqflask/wqflask/metadata_edits.py (_get_diffs): If a user---whose value is extracted from Redis and encoded in the file name---doesn't exist in Redis, use the raw string extracted from the file.
2022-07-04wqflask: Use a map over a tuple when fetching case-attributesBonfaceKilz
* wqflask/wqflask/metadata_edits.py (update_phenotype): Replace old "get_case_attributes" function call which returned a dict with the new updated version that returns a tuple.
2022-06-23Fix manual column width change feature to work in create_datatable.jszsloan
2022-06-23Add columnDefs as parameter for setUserColumnDefWidthszsloan
Now that the function is in a separate JS file it needs the parameter to be directly provided
2022-06-23Fix JS/CSS imports and include scroller setting in custom table settingszsloan
2022-06-23Change some variables in search_result_page.html to camelCasezsloan
2022-06-23Remove HTML table from collections/view.html and replace with list ofzsloan
column definitions passed to create_datatable.js
2022-06-23Change tableSettings in loadDataTable parameters to customSettingszsloan
2022-06-23Change jsonable in GeneralTrait so that it passes all necessary tablezsloan
information
2022-06-23Convert trait.view to string for conversion to JSONzsloan
It's originally a boolean, which causes an error when passed to the JS code as JSON
2022-06-23Change create_datatable.js from CRLF to LF + fix a couple syntax bugszsloan
2022-06-23Pass table data to collections/view template and create_table.jszsloan
2022-06-21wqflask: views: Delete noisy logging and dead codeBonfaceKilz
- Remove commented out code-blocks - Remove calls with this pattern: logger.info("Sending ...") logger.info(request.url) Should you want to inspect the local context of an environment when troubleshooting, set a breakpoint() and inspect the environment. To view everything in the local context, use "pp locals()"; and to view everything in the global context, use "pp globals()".
2022-06-20Simplify partial correlation method choicesFrederick Muriuki Muriithi
- Have only `Pearson's r` and `Spearman's rho` as the available choices for the partial correlations.
2022-06-16Change table_functions.js variables to camelCasezsloan
2022-06-16Replace DataTables code in collection view page with call to new create_table.jszsloan
2022-06-16Initial commit for create_datatable.jszsloan
This file will contain the generic function for initializing datatables, that will take the table ID, table data, column definitions, and custom settings as input (custom settings being additional DataTables settings or settings differing from the defaults)
2022-06-16Include json version of collection trait list, so it can be passed directly ↵zsloan
to DataTables
2022-06-15templates: base: Update GN2 footerBonfaceKilz
* wqflask/wqflask/templates/base: Remove links to non-functioning mailing list. Remove link to "#genenetwork" channel that isn't currently owned/moderated. Co-authored-by: Ethan Willis <elwillis1@gmail.com>
2022-06-13Check chromosome for 'Un' in search results and print N/A in such caseszsloan
2022-06-13Check for chromosome of 'Un' and print location as 'Not available' in such caseszsloan
2022-06-13Increase width threshold for using scroller, to prevent issue with blue ↵zsloan
lines at bottom of table
2022-06-13Limit search result descriptions to 500 characterszsloan
2022-06-13Add |safe to ensure HTML entites are correctly escaped for trait descriptionszsloan
2022-06-10Skip failing integration testBonfaceKilz
ATM, it's hard to by-pass the authentication decorators, and as such, skip this test for. This may be deleted later.
2022-06-10Reverse polarity for gemma additive effects in testsBonfaceKilz
Fixes broken test. See: #89a7868.
2022-06-07Define gn_server_url before running the drop-down menu JS codezsloan
2022-06-07Make indentation and spacing more consistent forzsloan
dataset_select_menu_orig.js
2022-06-07Fix issue that caused Submit Trait page drop-down menus to not workzsloan
Also removes a bunch of unnecessary console logging
2022-06-01Fix the way R/qtl is called in the GN2 REST APIzsloan
2022-06-01Remove IDs called 'submit' to prevent forms from breakingzsloan
Apparently if a button has an ID called 'submit', trying to submit a form via JS won't work
2022-05-31Check if entered pubmed_id is already associated with a publication, andzsloan
set PublishXRef.PublicationId equal to that Id if it exists
2022-05-31Reverse polarity for gemma additive effectszsloan
This is basically just a quick pseudo-fix to at least get the polarity right