Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated tests after PR #118 #119

Merged
merged 1 commit into from
Aug 3, 2020
Merged

Updated tests after PR #118 #119

merged 1 commit into from
Aug 3, 2020

Conversation

alanwilter
Copy link
Collaborator

Just updating one line in tests after PR #118

@alanwilter alanwilter requested a review from pontikos August 3, 2020 22:00
@pontikos pontikos merged commit d97e563 into dev-live Aug 3, 2020
@pontikos pontikos deleted the quick_fix branch August 3, 2020 22:13
IsmailM pushed a commit that referenced this pull request Aug 4, 2020
pontikos added a commit that referenced this pull request Aug 8, 2020
* add missing check_auth in change_password

* adding variant search + some refactoring around conversion of results from postgres (#90)

* Code tidy (#97)

* Udated gitignore

* Code tidied after Daniele's suggestions

* Code tidied and improved autocomplete search

* Introducing tox configuration

* Flake8 and Black applied

* Updated tox.ini and created pyproject.toml for Black code formatter

* Files updated by Black new config in pyproject.toml

* Refactored imports from db

* To include Black and Flake8 for Tox

* Commented out _gene_hpo_ids, not used

* 61 consanguinity editing (#101)

* reformat individual.py

* fix the individual update (actually get) + some refactoring around the place

* make good use of postgres API

* black reformatting + excluding some folders from flake8

* controlling none result

* improve search with HGVS, Ensembl ids and HPO ids (#105)

@alanwilter @priesgo we should probably test the suggested search functionality using unit test.  I'm going to merge this now into dev-live for testing on the dev website.

* 44 create new patient (#109)

* add endpoint for creating individuals

* make authentication backwards compatible

* add endpoint to create users (#114)

* add 404s to individuals endpoints (#113)

* add 404s to individuals endpoints

* blackened

* 89 create new user individuals (#116)

* add endpoint to post user_individuals

* blackened

* PyTest at last (#117)

* Updated Demo DB to comply with pytest, also see issue #93

* Port 5432 (postgres) need to be open for pytest to work on docker DB app

* PG DB needs to be 'phenopolis_db' for pytest to work with docker

* Added comments, flake8 and blackened

* CRITICAL: can only go ahead together with frontend issue #160

* Removed duplicated query_user_config()

* New tests, using PyTest, at last, yet no 100% coverage yet

* Commented out _get_hpo_ids_per_gene(), not used

* copy config from admin user for new users (#118)

* Updated tests after PR #118 (#119)

* Update requirements.txt (#120)

Add dotenv to run tests.

* Fix db (#121)

* Updated tests after PR #118

* Fixed a bug in DB:variant_pos_text_pattern_idx

* Debugging for query_type searching.

* Added a ugly function _search_variants_by_match_name to do pure string matching.

* Removed Partial Match for Variant, changed return results.

* Fix regex typo raised by Alan, but did NOT do pytest yet

Co-authored-by: IsmailM <ismail.moghul@gmail.com>
Co-authored-by: Pablo Riesgo Ferreiro <priesgoferreiro@gmail.com>
Co-authored-by: Alan <alanwilter@gmail.com>
Co-authored-by: Nikolas Pontikos <n.pontikos@gmail.com>
IsmailM pushed a commit that referenced this pull request Nov 14, 2020
* Fixed phenopolis reference, and footer.

* Fixed phenopolis reference, and footer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants