def _create_catalog_hierarchy(self, catalog_id, proxy, runtime):
seed_str = convert_catalog_id_to_object_id_string(catalog_id)<EOL>has = HierarchyAdminSession(proxy, runtime)<EOL>hfc = has.get_hierarchy_form_for_create([])<EOL>hfc.set_display_name(catalog_id.get_authority() + '<STR_LIT:U+0020>' + catalog_id.get_identifier() + '<STR_LIT>')<EOL>hfc.set_description('<STR_LIT>' + catalog_id.get_authority() + '<STR_LIT:U+0020>' + catalog_id.get_identifier())<EOL>hfc.set_genus_type(Type(authority='<STR_LIT>',<EOL>namespace='<STR_LIT>',<EOL>identifier=catalog_id.get_identifier()))<EOL>hfc._my_map['<STR_LIT>'] = ObjectId(seed_str)<EOL>hierarchy = has.create_hierarchy(hfc)<EOL>return hierarchy.get_id()<EOL>
Creates a catalog hierarchy