Skip to content

Trees

Specify uses a tree structure for taxonomy, storage, and geography. Trees store information that is inherently hierarchial, branching, and is used primarily for records to reference. Trees are stored locally, they do not use any external authority for reference, and are not automatically updated by any process.

Learning Objectives

By the end of this page, you will:

  • Know how to navigate to a tree
  • Understand the five possible operations for trees
  • Know how to use the tree to find records associated with a particular node
  • Be able to add a new node to a tree via the tree interface
  • Be able to remove a node from a tree via the tree interface

To navigate to a tree, select Trees tab from the navigation menu.

Image

Navigating to the trees interface from the homescreen

This will then present a popup in which you can select which tree you would like to navigate to.

Image

Selecting a tree from the picker

Click on the tree to open up the interface for that tree.

  • Know how to navigate to a tree

Tree operations

Merge parts of the tree. This is typically performed to correct parts of the tree that are duplicated. For instance, if the country of the United States of America were entered as both "United States" and "U.S." and both included a large number of children, a correction would require many distinct actions.

The merge function allows users to combine all the child information and choose the accepted form of a parent. The children of the first node selected (unwanted node) will merge with those included in the node being targeted (remaining node), and the unwanted node will disappear.

Danger

A merge is very hard to reverse. Make sure that you read the description of what the merge will be doing before executing.

To perform a merge, first select the node that you want to get rid of. This will create a border around the node. Next, click on the merge icon in the top right. Finally, click on the node you wish to merge into. A dialogue will appear that will verbally describe the operation. Once you are sure you wish to perform the merge, click the Merge button.

Move a node (and its child nodes) to a new parent. This is useful when a data entry error has occurred, or a new node has been introduced while uploading form the WorkBench. Nodes may be moved between ranks, but enforced ranks may not be skipped.

Change the node title or the details of the node. This is the easiest way to correct misspelled nodes. It can also edit details such as the author of taxon nodes.

Synonymize the node (in Geography and Taxon trees only). The node that is selected first will become a synonym of the second node selected. This new preferred node is called the accepting, or target node.

Changes in taxonomy are represented in the fields of the Determinations table. The Taxon and Preferred Taxon fields capture determinations related to Collection Objects.

When a taxon is not a synonym, both fields with indicate the same taxon. However, if taxon (A) becomes a synonym of taxon (B), the Taxon field will still show taxon (A), while the Preferred Taxon field will be updated to taxon (B).

By default, you cannot add child nodes to a synonymized node. Similarly, parent nodes cannot be synonymized unless their child nodes are first synonymized.

This will move all Preparations from one storage node into another. As opposed to the Move operation, this would be used if you still want to keep a particular node where it is, but move items from that node into another (specimens moving from one cabinet to another for example).

Select a storage node that contains the items you wish to move. Then click the icon and select the new node you wish to move the items into. A popup will appear explaining the operation, and ask you to confirm.

  • Understand the five possible operations for trees

Query for records via the tree

If you want to pull up all Collection Object's from a particular taxon node, or from a particular place, you can search directly through the tree interface. Let's say that I want to search for all records from the Epitaretus genus. Through the taxon tree, I can select that genus, and then use the button to query on that node.

Image

Getting all records associated with a node in a tree. Screenshot from demo database

This will run a query for records of that genus and show the results.

Image

Results from a query on a taxonomic node. Screenshot from demo database
  • Use the tree to find records associated with a particular node

Add a new node to a tree

There will be many instances in which you will want to add a node to a tree (perhaps a new specificEpithet). To do this, you must first determine which parent that node should be under. For example, if I wanted to add a new species under Eptatretus, I would first select the Eptatretus node, and then click the icon to add a new child node.

Image

Adding a child node. Screenshot from demo database

After press the icon, a popover will appear. The parent will be autofilled. There are two components that are required, the name of the new child you wish to create, and the rank that child node will have.

Image

Adding a child node with rank Species called "For the docs". Screenshot from demo database

Click Save to create the node.

  • Be able to add a new node to a tree via the tree interface

Deleting a tree node

Warning

A tree node cannot be deleted if it is referenced from elsewhere in the system. For example, if a taxon is referenced in a determination, or has child nodes that depend on it.

To delete a node from a tree, first select the node you wish to delete, then press the icon. A confirmation dialogue will appear asking if you are sure you wish to delete the node.

Image

Delete a node from a tree. Screenshot from demo database
  • Be able to remove a node from a tree via the tree interface