Trees | Indices | Help |
|
---|
|
A view functions is simply a Python function that takes a Web request and returns a Web response. This response can be the HTML contents of a Web page, or a redirect, or the 404 and 500 error, or an XML document, or an image... or anything.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
logger = logging.getLogger('views-web')
|
|||
connectors = {}
|
|||
share_connectors = {}
|
|||
GOOGLE_URL = "www.google.com"
|
Imports: sys, copy, re, os, calendar, cStringIO, datetime, httplib, Ice, locale, logging, traceback, shutil, zipfile, glob, time, start_new_thread, omero_version, omero, settings, SessionStore, template_loader, cache, HttpResponse, HttpResponseRedirect, HttpResponseServerError, render_to_response, Context, simplejson, page_not_found, server_error, debug, reverse, _, smart_str, FileWrapper, OmeroWebGateway, string_to_dict, HttpJavascriptRedirect, HttpJavascriptResponse, HttpLoginRedirect, _formatReport, _purgeCallback, ShareForm, BasketShareForm, ShareCommentForm, ContainerForm, ContainerNameForm, ContainerDescriptionForm, CommentAnnotationForm, TagAnnotationForm, UploadFileForm, UsersForm, ActiveGroupForm, HistoryTypeForm, MetadataFilterForm, MetadataDetectorForm, MetadataChannelForm, MetadataEnvironmentForm, MetadataObjectiveForm, MetadataObjectiveSettingsForm, MetadataStageLabelForm, MetadataLightSourceForm, MetadataDichroicForm, MetadataMicroscopeForm, TagListForm, FileListForm, TagFilterForm, MultiAnnotationForm, WellIndexForm, BaseController, BaseIndex, BaseBasket, BaseContainer, BaseHelp, BaseCalendar, BaseImpexp, BaseSearch, BaseShare, MyAccountForm, UploadPhotoForm, LoginForm, ChangePassword, BaseExperimenter, BaseUploadFile, _checkVersion, _isServerOn, toBoolean, upgradeCheck, getBlitzConnection, webgateway_views, handlerInternalError
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Converts OMERO image into mrc.map file (using tiltpicker utils) and returns the file
|
Downloads the archived file(s) as a single file or as a zip (if more than one file)
|
|
|
|
|
|
|
|
|
|
|
|
This provides a url to browse to the specified omero.model.ObjectI P/D/I, S/P, FileAnnotation etc. used to display results from the scripting service E.g webclient/userdata/?path=project=1|dataset=5|image=12601:selected If the object is a file annotation, try to browse to the parent P/D/I |
Refresh callbacks (delete, scripts etc) and provide json to update Activities window & Progressbar. The returned json contains details for ALL callbacks in web session, regardless of their status. We also add counts of jobs, failures and 'in progress' to update status bar.
|
Opens the Activites window, using data from jobs in the request.session['callback']. Once this window is open, AJAX calls are used to poll the request.session['callback'] and update the page If the above 'action' == 'clean' then we clear jobs from request.session['callback'] either a single job (if 'jobKey' is specified in POST) or all jobs (apart from those in progress)
|
|
|
|
|
|
Renders the image with id {{iid}} at {{z}} and {{t}} as jpeg. Many options are available from the request dict. I am assuming a single Pixels object on image with id='iid'. May be wrong
|
Renders the image with id {{iid}} at {{z}} and {{t}} as jpeg. Many options are available from the request dict. I am assuming a single Pixels object on image with id='iid'. May be wrong
|
This view is responsible for showing well data within plate
|
This view is responsible for showing pixel data as images
|
Get a dict with image information
|
Get a dict with image information
|
Get a dict with image information
|
Get a dict with image information
|
List the available scripts - Just officical scripts for now
|
Generates an html form for the parameters of a defined script.
|
Runs a script using values in a POST
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Oct 18 13:28:33 2011 | http://epydoc.sourceforge.net |