LOVDnl / LOVD3

LOVD3 development repository
http://www.LOVD.nl
GNU General Public License v3.0
24 stars 4 forks source link

getVariantInfo's HGVS check does not recognise white spaces #598

Closed loeswerkman closed 2 years ago

loeswerkman commented 2 years ago

Currently, getVariantInfo removes white spaces right at the beginning of the function, without returning false when $bCheckHGVS is set to true. This will cause issues in the variantCreationForm that is being updated in the improve/variantCreationForm branch, because LOVD will, as it stands, wrongfully accept variants with white spaces into the database.

loeswerkman commented 2 years ago

Already fixed in improve/syntaxValidation.