phyloref / klados

A curation tool to edit test cases for the Phyloref curation workflow
http://www.phyloref.org/klados/
MIT License
2 stars 1 forks source link

Delete duplicated citation code #304

Closed gaurav closed 1 year ago

gaurav commented 1 year ago

Two pieces of code were copied over from Klados to Phyx.js at some point:

  1. The code for generating a single string to describe a citation.
  2. The code for generating a single string for an "agent name" (i.e. for an author, editor or series editor).

This PR removes the Klados version of this code, and calls the phyx.js version of this code instead. This avoid duplication, which is a particular problem as the two pieces of code had slightly different ways of parsing agent names as well as some other fields. Closes #301.

Should be merged after PR #303.