I am aware that the method getObject will return empty if the object is not found. but, are there any situations other than a closed connection where this method might throw an exception?
ivan
conn.getObject("Image", attributes={"name", "myImage.tiff"})
KNOWN_WRAPPERS.update({"project":ProjectWrapper,
"dataset":DatasetWrapper,
"image":ImageWrapper,
"screen":ScreenWrapper,
"plate":PlateWrapper,
"plateacquisition": PlateAcquisitionWrapper,
"well":WellWrapper,
"experimenter":ExperimenterWrapper,
"experimentergroup":ExperimenterGroupWrapper,
"originalfile":OriginalFileWrapper,
"commentannotation":CommentAnnotationWrapper,
"tagannotation":TagAnnotationWrapper,
"longannotation":LongAnnotationWrapper,
"booleanannotation":BooleanAnnotationWrapper,
"fileannotation":FileAnnotationWrapper,
"doubleannotation":DoubleAnnotationWrapper,
"termannotation":TermAnnotationWrapper,
"timestampannotation":TimestampAnnotationWrapper,
"annotation":AnnotationWrapper._wrap})
Return to Developer Discussion
Users browsing this forum: Google [Bot] and 1 guest