[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
Description
Previously, any presence of a . was ignored in VCF subfields. Since floating point values as metadata can be valid, I altered the regex (thanks to help from @laceysanderson!) to capture floating points in addition to integers and strings, but still reject missing data (ie. . or .,., etc...)
Dependencies
Testing?
[x] I tested on a generic Tripal Site
[ ] I tested on a KnowPulse Clone
[ ] This PR includes automated testing
You can test by modifying the existing sample VCF files in sample_files/, or you can play around with the regex \b\.*\b in an online regex tester such as phpliveregex.com (Here's my test)
Metadata
Documentation:
Description
Previously, any presence of a
.
was ignored in VCF subfields. Since floating point values as metadata can be valid, I altered the regex (thanks to help from @laceysanderson!) to capture floating points in addition to integers and strings, but still reject missing data (ie..
or.,.
, etc...)Dependencies
Testing?
You can test by modifying the existing sample VCF files in sample_files/, or you can play around with the regex
\b\.*\b
in an online regex tester such as phpliveregex.com (Here's my test)