-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Not a Bug
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Workflow
-
Labels:None
-
Affect Type:Userdefined
This script is used in one of WD samples elements:
var length;
length = size(in_sequence);
if (length < len) {
out_msa = addToAlignment(out_msa, in_sequence);
}
If you run this scheme with 3 input sequences (3 messages with one sequence) then it is logically right that @out_msa should be one alignment with 3 sequences.
But the current behavior is incorrect. For example, the sequences' names are S1, S2 and S3. So, the element produces 3 resulting alignments:
1) S1
2) S1
S2
3) S1
S2
S3
It is needed to create some mechanism of data accumulation for scripts. This mechanism will allow to store all data in the script context and produce only one message after finishing of the input channel.
Currently, this sample is excluded in 1.11.* versions (UGENE-1095). Return the sample after fixing this issue.
- relates to
-
UGENE-1095 WD samples: Temporary exclude "Create alignment" sample
- Closed