Child pages
  • Script-Get the First Half of Sequence Element

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Fetch the first half of incoming sequence.

The element works on the basis of the following script:

Code Block
out_sequence = subsequence(in_sequence, 0, size(in_sequence) / 2 - 1);

Parameters in GUI

The element has no parameters.
Parameters in Workflow File

Type: “Script-Get the first half of sequence”

 The element has no parameters.

Input/Output Ports

The element has 1 input port:

Name in GUI: Input data

Name in Workflow File: in

Slots:

Slot In GUISlot in Workflow FileType
Sequencesequenceseq

And 1 output port:

Name in GUI: Output data

Name in Workflow File: out

Slots:

Slot In GUISlot in Workflow FileType
Sequencesequenceseq