Repository navigation
v0.1.0-beta.32
Pre-release
Pre-release
·
121 commits
to main
since this release
Bug Fixes
Resolves all four bugs from #135.
- Surface real errors instead of HTML-as-JSON parser noise — When HyPhy fails to produce a result file,
WasmAnalysisRunnerwas callingsafeParseJSONon a 404 HTML page and surfacing raw V8Unexpected token '<'errors (~290 events / 30 days). Guard against HTML responses and throw a clear "HyPhy analysis did not produce a result file" message instead. (#136) - Auto-switch tree source when no NJ tree is inferred —
selectedTreeSourcedefaulted to'inferred'even when the datareader didn't produce an NJ tree, so users hit "No NJ tree available" on Run Analysis (177 events / 30 days). Reactively switch to whichever source is actually available and tighten the error message when no fallback exists. (#136) - Pass numeric genetic code IDs instead of multi-word names — Aioli's
exec()does a plaincommand.split(' ')with no quote handling, so multi-word genetic code names like'Vertebrate mitochondrial'got split into--code Vertebrate+ a straymitochondrial, causing HyPhy to rejectVertebrateand consume the next option's value as a fallback (All,0.1,Source). Pass the numericgeneticCodeId(always single-token) instead, matching the backend's behavior. (#136) - Always include a message field on unknown validation errors — 338 of 342
unknownevents had nomessagepayload becauseerror.messagewas falsy. Fall back througherror.name→error.toString()→ sentinel so analytics always has something to work with. (#136)