from django.conf import settings


class MaprSettings(object):

    MAPR_MENU_CUSTOM = {
        'gene': {
            'default': ('Gene Symbol', ),
            'all': ('Gene Symbol', 'Gene Identifier', ),
            'label': ('Gene', ),
            'ns': (
                'openmicroscopy.org/mapr/gene',
            ),
        },
        'phenotype': {
            'default': ('Phenotype', ),
            'all': ('Phenotype', 'Phenotype Term Accession', ),
            'label': ('Phenotype', ),
            'ns': (
                'openmicroscopy.org/mapr/phenotype',
            ),
        },
        'compound': {
            'default': ('Compound Name', ),
            'all': ('Compound Name', ),
            'label': ('Compound', ),
            'ns': ('openmicroscopy.org/omero/bulk_annotations',),
        },
        'sirna': {
            'default': ('siRNA Identifier', ),
            'all': ('siRNA Identifier', ),
            'label': ('siRNA', ),
            'ns': ('openmicroscopy.org/mapr/sirna',),
        },
        'organism': {
            'default': ('Organism', ),
            'all': ('Organism', 'Organism Part', ),
            'label': ('Organism', ),
            'ns': (
                'openmicroscopy.org/mapr/organism',
            ),
        },
    }

    MENU_MAPR = getattr(settings, 'MAPR_MENU_CUSTOM', MAPR_MENU_CUSTOM)

mapr_settings = MaprSettings()

@@ -1022,256 +1022,8 @@
  %7D,%0A
-        'organism': %7B%0A            'default': ('Organism', ),%0A            'all': ('Organism', 'Organism Part', ),%0A            'label': ('Organism', ),%0A            'ns': (%0A                'openmicroscopy.org/mapr/organism',%0A            ),%0A        %7D,%0A
     

remove organism from the maps