nextstrain / auspice

Web app for visualizing pathogen evolution
https://docs.nextstrain.org/projects/auspice/
GNU Affero General Public License v3.0
292 stars 162 forks source link

tree: Revisit `updateTipRadii` with `tipSelectedIdx` #1891

Open victorlin opened 2 weeks ago

victorlin commented 2 weeks ago

_from https://github.com/nextstrain/auspice/pull/1864#discussion_r1831750173_

This code block:

https://github.com/nextstrain/auspice/blob/e8337a8ef1beb372e942fdfce5823d131c957263/src/actions/tree.js#L218-L224

is unused because updateTipRadii is never called with a value for tipSelectedIdx.

Possible solutions

  1. Remove the code block
  2. Investigate the original intent and add a call that uses the code block