qiime2 / q2-longitudinal

QIIME 2 plugin for paired sample comparisons
BSD 3-Clause "New" or "Revised" License
9 stars 18 forks source link

BUG: volatility: apostrophes in metadata break viz #110

Closed nbokulich closed 6 years ago

nbokulich commented 6 years ago

Describe the bug Apostrophes in metadata cause volatility to run without error; however, the viz is broken and the following error appears on the screen instead of some 🍝 :

Uncaught SyntaxError: Unexpected identifier

Other special characters do not cause this problem. I tested: *(){},\/"&

To Reproduce Toss some apostrophes in your metadata; see references below.

Expected behavior A visualization should appear, not an error message in the viz.

Screenshots image

References forum xref possible approach for validating json metadata fed to vega spec.