aboutsummaryrefslogtreecommitdiff
path: root/wqflask/runserver.py
AgeCommit message (Collapse)Author
2023-06-20Add `create_app()` application factoryFrederick Muriuki Muriithi
Create the application and set up configs and other things within an application factory function. Fix obvious egregious errors preventing the application from starting up correctly.
2023-06-20configs: set mandatory settings in the appFrederick Muriuki Muriithi
Set up the mandatory settings in the `flask.current_app.config` object rather than in the file itself.
2023-06-20Configs: Introduce Blueprints. Refactor configs in webqtlConfig.Frederick Muriuki Muriithi
* Introduce flask Blueprints to help with decoupling the various modules from the `wqflask/__init__.py` module * Refactor settings: Create a function `base.webqtlConfig.init_app(...)` to handle setting up the configurations on the app correctly. Call this function at app creation time. * Move configuration utility functions from `utility.tools` module to `utility.configuration` module. * Use the `get_setting(...)` function to retrieve configuration settings from the application.
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.
2021-08-17wqflask: runserver: Add DebugToolbar when running in DEBUG modeBonfaceKilz
2020-08-27Remove relative importsBonfaceKilz
* wqflask/runserver.py: Relative imports leads to import errors.
2020-08-27Convert sibling imports to relative importsBonfaceKilz
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-import>
2020-08-27Apply pep-8 formattingBonfaceKilz
2020-08-27Remove unused importsBonfaceKilz
2020-04-26Merge master and testingmasterPjotr Prins
2019-02-18Updated installation instructions and SERVER_PORT for single flask serverPjotr Prins
2018-09-05ELASTICSEARCH settings and fix runserver.py to run without gunicornPjotr Prins
2018-03-26Refactor startup config for gunicorn and werkzeugPjotr Prins
2018-01-29Gunicorn worksPjotr Prins
2018-01-29startup script: adapting for gunicornPjotr Prins
2017-12-20Bring in some earlier work - mostly documentation and startup handlingPjotr Prins
2017-04-25Fixed issue with correlation result trait links if target dataset is ↵zsloan
different from base dataset Improved collection list and view table appearances Added question mark image for glossary entries in table headers Fixed issue where extra decimal place sometimes appeared in bar chart Y axis tick values
2017-04-05- Temporary traits can be created, viewed, and added to collectionszsloan
- Correct PCA trait data is created but can't be saved yet - Added inner margins by increasing xDomain and yDomain of probability plot on trait page - Increased X/Y-axis label font size - Turned "processes" to 0 on runserver.py for PROD setting, since it doesn't work with threading - Improved appearance of correlation page table - Added links to github to index page - Removed js_data from GEMMA/PLINK mapping results, since it isn't used for those - Removed "Tissue" from trait page for phenotype traits
2016-10-03Debug: sanitize some outputPjotr Prins
2016-10-03Config: use server port settingPjotr Prins
2016-06-19gn_server: SQL handlingPjotr Prins
2016-06-18Logging settingsPjotr Prins
2016-06-18Runner: updated infoPjotr Prins
2016-06-18Logger: more infoPjotr Prins
2016-06-18Logger: replacing print statementsPjotr Prins
2016-06-18Logger: introducing loggingPjotr Prins
2016-06-18Logging: behavioursPjotr Prins
2016-06-18Logger: improving outputPjotr Prins
2016-06-18Changed file permssions to non-executablePjotr Prins
2016-04-20Remover dependency to logger_tree (may reintroduce later)pjotrp
2015-05-18fix attribute coloringArtem Tarasov
also I found out that there are two legends shown simultaneously, but one is suitable only for discrete values, and the other for continuous; now only the suitable one is shown
2015-05-01Added Pjotr's latest pylmm changeszsloan
Added GEMMA and necessary plink-format genotype files in gemma directory Added the GEMMA genotype files to git LFS Removed some unnecessary/duplicated code from interval_mapping.py Separated GEMMA mapping code into its own file (will also do this for other methods) and fixed and issue that caused it to not run Added the table to the pair scan results page and wrote some code adding its attributes to each marker object, but it still isn't working yet
2015-03-23Updates to make GN2 work on my version of penguin (ports, and paths)DannyArends
2014-09-22Adding the port as a parameter to runserver; this should just be temporary untilZachary Sloan
I figure out how to get it to read the port from the config file instead Using runserver.py instead of secure_server.py because of an error with the latter that I haven't figured out how to fix yet Improved the appearance of several of the tables
2014-05-05Committing a bunch of changes related to integrating GEMMA andZachary Sloan
adding the correlation matrix page
2013-03-07Have first 45% of progress bar workingZachary Sloan
Changed "threaded" to True in runserver.py; this fixed issue related to getting progress bar to work
2012-10-25Looks like the code that imports logging was changed in runserver.pyZachary Sloan
Small change to the code printing out fd in search_results.py
2012-06-05Actually getting some results out of the trait and data analysis pageSam Ockman
2012-06-01Views and templates modified to allow template analysisSam Ockman
2012-05-24Trying to get stuff working under new structureSam Ockman