Example #1
0
class Containertype(Entity):
    "Type of container for analyte artifacts."

    _TAG = 'container-type'
    _URI = 'containertypes'
    _PREFIX = 'ctp'

    name = StringAttributeDescriptor('name')
    calibrant_wells = StringListDescriptor('calibrant-well')
    unavailable_wells = StringListDescriptor('unavailable-well')
    x_dimension = DimensionDescriptor('x-dimension')
    y_dimension = DimensionDescriptor('y-dimension')
Example #2
0
class Udfconfig(Entity):
    "Instance of field type (cnf namespace)."
    _URI = 'configuration/udfs'

    name = StringDescriptor('name')
    attach_to_name = StringDescriptor('attach-to-name')
    attach_to_category = StringDescriptor('attach-to-category')
    show_in_lablink = BooleanDescriptor('show-in-lablink')
    allow_non_preset_values = BooleanDescriptor('allow-non-preset-values')
    first_preset_is_default_value = BooleanDescriptor(
        'first-preset-is-default-value')
    show_in_tables = BooleanDescriptor('show-in-tables')
    is_editable = BooleanDescriptor('is-editable')
    is_deviation = BooleanDescriptor('is-deviation')
    is_controlled_vocabulary = BooleanDescriptor('is-controlled-vocabulary')
    presets = StringListDescriptor('preset')