touretzkyds / KnowledgeGraphDemo

Visualization tools for KnowledgeGraphDemo
Apache License 2.0
0 stars 2 forks source link

taxon name input cleanup #36

Closed touretzkyds closed 2 years ago

touretzkyds commented 2 years ago

We need to clean up the input we receive in the taxon name text box. Delete any leading or trailing whitespace. Replace any internal whitespace (spaces or tabs) with a single space. Otherwise the name lookup will fail, as just happened to me when I left a trailing space on a genus name.

nhadlaw commented 2 years ago

The latest version of demo2d.html should fix this issue.

touretzkyds commented 2 years ago

Works great.