Removing ranks from trees

Hey all,
Specify 7.10.2.3
I am trying to remove some taxon tree ranks to simplify our taxon tree, as in practice they are more of a hindrance than a help. (In this case, the Subclass, Infraclass, and Superorder ranks).

I removed all child taxa from the ranks using the Taxon move tool to have a parent of higher rank (Class) and removed all taxon records at the intermediate ranks in question.
When I try to remove the ranks using the edit tool, the tree still alerts me that all determinations and taxa in the database reference those ranks, even though the ranks have no records at all anymore.

The documentation here: Editing Tree Definitions / Ranks suggests that once the taxa have been removed, the tree definition item should be removable. It’s been a few days since I removed the taxa, so I don’t think it’s just that the tree is taking time to update.
Am I missing something? How do I remove these ranks?

Hi @nfshoobs,

It looks like the delete is blocked as it’s trying to delete the rank itself and everything lower in the tree and the ranks below it have nodes in them. I was able to recreate this issue and have submitted a report on GitHub which you can review here:

Thank you for bringing this to our attention!

Hey @emenslin, thanks for the reply! Interesting to see this is genuinely a bug, I totally thought I was just doing something wrong!
Thanks for the writeup on github.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.