Skip to content

Dataset

Bases: NBOBaseClass

Represents the XML element Dataset.

An element specifying a collection of images that are always processed together. Images can belong to more than one Dataset, and a Dataset may contain more than one Image. Images contain one or more DatasetRef elements to specify what datasets they belong to. Once a Dataset has been processed in any way, its collection of images cannot be altered. The ExperimenterRef and ExperimenterGroupRef elements specify the person and group this Dataset belongs to. Projects may contain one or more Datasets, and Datasets may belong to one or more Projects. This relationship is specified by listing DatasetRef elements within the Project element.

fromBase(base) staticmethod

getTypeName()

getXMLName()

getNBOType()

getChildren()

getSubElements()

fromJsonFile(path, validate=True)

fromJsonString(json_string, validate=True)

fromXmlFile(path, validate=True)

fromXmlString(xml_string, validate=True)

toXmlFile(filename, validate=True)

toXmlString(validate=True)

setName(value, validate=True)

getName()

resetName()

hasName()

getNameAllowedValues() staticmethod

setID(value, validate=True)

getID()

resetID()

hasID()

setDescription(value, validate=True)

getDescription()

resetDescription()

hasDescription()

setExperimenterRef(value, validate=True)

getExperimenterRef()

resetExperimenterRef()

hasExperimenterRef()

setExperimenterGroupRef(value, validate=True)

getExperimenterGroupRef()

resetExperimenterGroupRef()

hasExperimenterGroupRef()

setImageRef_List(value, validate=True)

getImageRef_List()

addToImageRef_List(value, validate=True)

clearImageRef_List()

setAnnotationRef_List(value, validate=True)

getAnnotationRef_List()

addToAnnotationRef_List(value, validate=True)

clearAnnotationRef_List()