aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/webqtlCaseData.py
AgeCommit message (Collapse)Author
2021-04-30autopep8: Fix E301,E302,E303,E304,E305,E306BonfaceKilz
2020-10-27Get the "first_attr_start_pos" from a samplelist instead of from each ↵zsloan
individual sample, because it was previously causing problems when only some samples had an N * wqflask/base/webqtlCaseData.py - Removed code getting first_attr_start_pos * wqflask/wqflask/show_trait/SampleList.py - Added code getting first_attr_start_pos and assigning it to all samples + removing one unnecessary sort * wqflask/wqflask/static/new/javascript/initialize_show_trait_tables.js - Fixed issue that was causing the N column to not be displayed
2020-09-18Made a bunch of changes to move trait page DataTables initialization tozsloan
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
2020-07-27Clean up webqtlCaseData classBonfaceKilz
* 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
2019-02-15Fixed error caused by change to N values in database (now takes strings ↵zsloan
instead of integers) Fixed error that caused N to show up as "null" in the trait sample table instead of "x"
2019-02-12Added GeneWeaver linkoutzsloan
Fixed some issues with sorting in various tables Changed header appearance for some pages Fixed bug where basic stats table would sometimes be duplicated or show up with empty fields
2018-10-01- Can now remove cofactors from correlation scatterplot and select them by ↵zsloan
just clicking their row in collection - Cofactor color picker now works in Safari/Macs - Displays N for relevant samples in trait page sample table - Don't show bar chart when N>256 - Mapping loading page contents better centered - Anonymous collections timeout correctly listed as 30 days now - Minor allele frequency can actually be changed for GEMMA now (previously didn't work) - Fixed transcript position marker location for mapping results - Notifies user if their e-mail isn't associated with an account when they attempt to request forgotten password - Users can now map with submitted traits - Histogram width changes depending upon number of bins (need to improve this still) - Improved Q-q plot (previously called "probability plot")
2017-06-12Fixed issue where 0.0 values would be converted into X's on the trait pagezsloan
2016-12-12Moved a bunch of functions out of the GeneralTrait class that didn't need to ↵zsloan
be there and changed the code that calls them accordingly Improved loadings plot on the correlation matrix page to look like GN1's figure (though it's vector and GN1's was static) Removed some unused code from show_trait.py changed appearance of table headers some, though needs a little more work Updated dataset_menu_structure.json
2016-11-15Fixed issue where sample values of 0 would sometimes be displayed as 'x', ↵zsloan
which would result in wrong correlation results Fixed issue where the mean would sometimes be displayed into of the additive effect
2016-10-03Debug: sanitize some outputPjotr Prins
2016-08-05Fixed issue that caused some interval mapping results to be wrong; the cause ↵zsloan
seems to be related to some strains being renamed in the genofiles Added a message to the Add to Collection page warning users that anonymous collections will only be stored for 5 days Updated genofiles
2016-06-18Logging settingsPjotr Prins
2016-06-18LoggerPjotr Prins
2016-06-18Changed file permssions to non-executablePjotr Prins
2016-06-17Removed trailing spaces in .py and .js filesPjotr Prins
2016-05-23Reaper mapping results are now correct and account for samples with two ↵zsloan
names (like BXD65a) R/qtl and PYLMM still not working with the change and bootstrap results are also still wrong, so need to fix those issues.
2015-05-23new probability plot (using NVD3 library)Artem Tarasov
* z scores are computed on the client side (using jStat library) * added Shapiro-Wilk test results
2014-07-21Fixed issue where sample values were ordered on the trait pageZachary Sloan
2014-07-18Added outlier highlightingZachary Sloan
Changed order of tabs in statistics panel on trait page Started working on heatmap
2012-10-23Finished coffeescript that handles the home page dataset selection dropdownsZachary Sloan
2012-09-28Finished getting extra attributes to display correctly in the trait data tableZachary Sloan
2012-09-25Got trait data page running for human dataset, changed list of sample ↵Zachary Sloan
objects to a SampleList object
2012-08-29Fixed so that outliers are now correctly highlightedZachary Sloan
2012-08-28Various changes related to the webqtlCaseData object and the way ↵Zachary Sloan
values/variances/num_cases are called in DataEditingPage.py
2012-06-05Ran reindent.py recursively on wqflask directorySam Ockman
2012-05-24Trying to get stuff working under new structureSam Ockman