joshmoore/fresh_import — pull request #4 by will-moore (2013-04-05 14:50:25+00:00)
Title: Script and text file for creating Tags & TagGroups from Gene_Ontology te...

In order to test how OMERO and the clients handle a large number of Tags, this script generates tags from the Gene Ontology terms. There are about 36,000 terms which can be used to make a similar number of Tags (without Tag Groups).

Alternatively, the current version of the script attempts to create Tag Groups and Tags. Tags are created using only GO terms that are "leaf nodes" of the GO hierarchy and their parents are Tag Groups (no orphaned Tags are created).

Although Insight seems to handle the first scenario OK, it fails when we create Tag Groups using the whole GO. Therefore, there is a ``` MAX_TERM_COUNT = 10000 ``` parameter to limit the number of Tags we create.