from pmr2.app.annotation import note_factory as factory from pmr2.annotation.mathjax.note import * MathJaxNoteFactory = factory(MathJaxNote, 'mathjax')
import zope.i18nmessageid from pmr2.app.annotation import note_factory as factory from pmr2.annotation.curation.note import BasicCurationNote BasicCurationNoteFactory = factory(BasicCurationNote, 'basic_curation') MessageFactory = zope.i18nmessageid.MessageFactory('pmr2.oauth')
from pmr2.app.annotation import note_factory as factory from pmr2.app.annotation.note import RawTextNote from note import * BasicMathMLNoteFactory = factory(RawTextNote, 'basic_mathml') BasicCCodeNoteFactory = factory(RawTextNote, 'basic_ccode') CmetaNoteFactory = factory(CmetaNote, 'cmeta') OpenCellSessionNoteFactory = factory(OpenCellSessionNote, 'opencellsession') CellMLCodegenNoteFactory = factory(CellMLCodegenNote, 'cellml_codegen') CellMLMathNoteFactory = factory(CellMLMathNote, 'cellml_math')
from pmr2.app.annotation import note_factory as factory from note import * SourceTextNoteFactory = factory(SourceTextNote, 'source_text')
from pmr2.app.annotation import note_factory as factory from note import * ZincViewerNoteFactory = factory(ZincViewerNote, 'zinc_viewer') JsonZincViewerNoteFactory = factory(JsonZincViewerNote, 'json_zinc_viewer') FieldMLMetadataNoteFactory = factory(FieldMLMetadataNote, 'fieldml_metadata')
from pmr2.app.annotation import note_factory as factory from pmr2.app.annotation.note import RawTextNote from note import * SBMLNoteFactory = factory(RawTextNote, 'sbml_note') SBMLSpeciesNoteFactory = factory(SBMLSpeciesNote, 'sbml_species') SBMLReactionsNoteFactory = factory(SBMLReactionsNote, 'sbml_reactions')
from pmr2.flatmap.interfaces import ISDSNote class FlatmapViewerNote(ExposureFileNoteBase): """ Flatmap description note. """ zope.interface.implements(IFlatmapViewerNote) bearer_token = fieldproperty.FieldProperty( IFlatmapViewerNote['bearer_token']) flatmap_host = fieldproperty.FieldProperty( IFlatmapViewerNote['flatmap_host']) initial_response = fieldproperty.FieldProperty( IFlatmapViewerNote['initial_response']) map_id = fieldproperty.FieldProperty(IFlatmapViewerNote['map_id']) FlatmapViewerNoteFactory = factory(FlatmapViewerNote, 'flatmap_viewer') class SDSNote(ExposureFileNoteBase): """ SDS Note """ zope.interface.implements(ISDSNote) SDSNoteFactory = factory(SDSNote, 'flatmap_sds_archive')