...
Note, that the values of the parameters for an element can also be presented in the iterations block.For all elements the following parameters are defined:
- type — - specifies the type of the element.
- name — - specifies the name of the element. It corresponds to the element’s name in the GUI
- .validator - validates the element by the input validator type's parameters:
- type - specifies the type of the validator.
- type - specifies the type of the validator.
For example this validator validate that the read sequence element has two or three datasets:
Code Block |
---|
read-sequence {
type:read-sequence;
name:"Read Sequence";
.validator {
type:datasets-count;
min:2;
max:3;
}
} |
For custom elements there is special parameter:
- script — - sets the script text of the element, for example:
- script — - sets the script text of the element, for example:
...