Skip to content

Commit a343e2f

Browse files
author
Peter Causey-Freeman
committed
In response to #75, some requirements have been assigned a fix build in requirements.txt.
1 parent c9cc085 commit a343e2f

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

REQUIREMENTS.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ git+https://github.com/openvar/vv_hgvs@master#egg=vvhgvs
22
git+https://github.com/openvar/variantValidator@master#egg=VariantValidator
33
git+https://github.com/openvar/variantFormatter@master#egg=VariantFormatter
44
biopython
5-
flask==1.1.1
6-
flask-restplus
75
gunicorn
86
biocommons.seqrepo>=0.5.1
97
httplib2>=0.9.0
@@ -16,7 +14,12 @@ dicttoxml
1614
notebook
1715
jupyter_contrib_nbextensions
1816
jupyter_nbextensions_configurator
19-
Werkzeug==0.16.1
2017
pytest>=3.6
2118
pytest-cov
22-
codecov
19+
codecov
20+
21+
# flask restplus is out of date, requiring these
22+
flask-restplus
23+
flask==1.1.1
24+
Werkzeug==0.16.1
25+
itsdangerous==2.0.1

docs/DOCKER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ $ docker-compose pull
5454
$ mkdir ~/variantvalidator_data
5555
$ mkdir ~/variantvalidator_data/share
5656
```
57-
i.e. a directory called share in your home directory
57+
*i.e.* a directory called `variantvalidator_data/share` in your `home` directory
5858

5959
- Build
6060

rest_VariantValidator/endpoints/vijs_endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def get(self, genome_build, variant_description):
203203

204204
# Refresh the content
205205
refreshed_content = {}
206-
if variant_description is "":
206+
if variant_description == "":
207207
refreshed_content = {"error": "Unsupported variant type"}
208208
else:
209209
# Validate using the VariantValidator Python Library

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
# List run-time dependencies here. These will be installed by pip when the project is installed.
4747
install_requires=[
4848
"werkzeug==0.16.1",
49-
"flask",
5049
"flask-restplus",
5150
"gunicorn",
5251
"httplib2>=0.9.0",
@@ -61,6 +60,9 @@
6160
"VariantFormatter @ git+https://github.com/openvar/variantFormatter.git@master#egg=VariantFormatter",
6261
"biocommons.seqrepo>=0.5.1",
6362
"biopython",
63+
"flask==1.1.1",
64+
"Werkzeug==0.16.1",
65+
"itsdangerous==2.0.1",
6466
],
6567
setup_requires=[
6668
"setuptools_scm",

0 commit comments

Comments
 (0)