|
__init__(self,
conn,
project=None,
dataset=None,
image=None,
screen=None,
plate=None,
acquisition=None,
well=None,
tag=None,
tagset=None,
file=None,
comment=None,
annotation=None,
index=None,
orphaned=None,
**kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
_get_object(self)
Since the container is often used to wrap a single Project, Dataset
etc, several methods need access to the underlying object. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
getNumberOfFields(self)
Applies to Plates (all fields) or PlateAcquisitions |
source code
|
|
|
getPlateId(self)
Used by templates that display Plates or PlateAcquisitions |
source code
|
|
|
listFigureScripts(self,
objDict=None)
This configures all the Figure Scripts, setting their enabled status
given the currently selected object (self.image etc) or batch objects
(uses objDict). |
source code
|
|
|
openAstexViewerCompatible(self)
Is the image suitable to be viewed with the Volume viewer 'Open Astex
Viewer' applet? Image must be a 'volume' of suitable dimensions and
not too big. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
listImagesInDataset(self,
did,
eid=None,
page=None,
load_pixels=False) |
source code
|
|
|
|
|
listOrphanedImages(self,
eid=None,
page=None) |
source code
|
|
|
|
|
|
|
loadBatchAnnotations(self,
objDict,
ann_ids=None,
addedByMe=False)
Look up the Tags, Files, Comments, Ratings etc that are on one or
more of the objects in objDect. |
source code
|
|
|
getTagsByObject(self,
parent_type=None,
parent_ids=None) |
source code
|
|
|
getFilesByObject(self,
parent_type=None,
parent_ids=None) |
source code
|
|
|
createDataset(self,
name,
description=None,
img_ids=None) |
source code
|
|
|
createProject(self,
name,
description=None) |
source code
|
|
|
|
|
|
|
createCommentAnnotations(self,
content,
oids,
well_index=0) |
source code
|
|
|
createTagAnnotations(self,
tag,
desc,
oids,
well_index=0)
Creates a new tag (with description) OR uses existing tag with the
specified name if found. |
source code
|
|
|
createFileAnnotations(self,
newFile,
oids,
well_index=0) |
source code
|
|
|
|
|
updateDescription(self,
o_type,
description=None) |
source code
|
|
|
|
|
|
|
updateDataset(self,
name,
description=None) |
source code
|
|
|
|
|
updateProject(self,
name,
description=None) |
source code
|
|
|
|
|
|
|
remove(self,
parents,
index)
Removes the current object (file, tag, comment, dataset, plate,
image) from it's parents by manually deleting the link. |
source code
|
|
|
|
|
|
|
copyImageToDataset(self,
source,
destination=None) |
source code
|
|
|
|
|
copyDatasetToProject(self,
source,
destination=None) |
source code
|
|
|
copyDatasetsToProject(self,
datasets,
project) |
source code
|
|
|
copyPlateToScreen(self,
source,
destination=None) |
source code
|
|
|
|
|
|
|
deleteObjects(self,
otype,
ids,
child=False,
anns=False) |
source code
|
|
Inherited from BaseController :
doPaging ,
getShareId
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|