-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Describe the bug
The docker VV works well in my environment but is really slow to return description errors.
To Reproduce
Let’s see it by example:
CORRECT INPUT
$ time curl -X 'GET' -H 'accept: application/json' 'http://my_vv_docker_server/VariantValidator/variantvalidator/GRCh38/NM_001122659.3:c.1233A>G/all??content-type=application%2Fjson' -H 'accept: application/json'
… response ok
real 0m0.327s
user 0m0.006s
sys 0m0.007s
INCORRECT INPUT (HGVS error, or variant outside gene boundaries provided with NM_c. description,…)
$ time curl -X 'GET' -H 'accept: application/json' 'http://my_vv_docker_server/VariantValidator/variantvalidator/GRCh38/NM_001122659.3:c.1233A>-/all??content-type=application%2Fjson' -H 'accept: application/json'
…"HgvsSyntaxError: 1233A>-: char 6: Syntax error"
real 4m22.608s
user 0m0.009s
sys 0m0.015s
Expected behavior
A fast answer!
Additional context
The issue does not seem to link to the network (i.e. VV trying to contact some external ressource).
Would it be possible to try to reproduce in another environment?