Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 27, 2026

newick.js is dead code—never loaded or called anywhere in the codebase.

Investigation

  • No <script> includes in any JSP files
  • Newick.parse never called
  • Redundant: phylotree.js and jsphylosvg-min.js both have built-in Newick parsers

Changes

  • Removed treebase-web/src/main/webapp/scripts/newick.js
  • Updated WEB_UI_ANALYSIS.md to remove reference
Original prompt

Is newick.js used anywhere or can we remove it?


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Investigate usage of newick.js for potential removal Remove unused newick.js file Jan 27, 2026
Copilot AI requested a review from rvosa January 27, 2026 21:48
@rvosa rvosa marked this pull request as ready for review January 27, 2026 22:06
@rvosa rvosa merged commit dbe0e22 into master Jan 27, 2026
3 checks passed
@rvosa rvosa deleted the copilot/check-newick-js-usage branch January 27, 2026 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants