/usr/share/hyphy/TemplateBatchFiles/readIndexFile.bf is in hyphy-common 2.2.7+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | RequireVersion ("0.9920060830");
SetDialogPrompt ("Please select the index file:");
fscanf (PROMPT_FOR_FILE,"Lines",inLines);
counter = Columns (inLines);
if (skipCodeSelectionStep)
{
stringMatrix = {counter$2,1};
codeTableMatrix = {counter$2,1};
counter = 0;
counter2 = 0;
for (k=0; k<counter; k=k+2)
{
codeTableMatrix [k$2] = 0+inLines[k+1];
stringMatrix [k$2] = inLines[k];
}
}
else
{
stringMatrix = Transpose (inLines);
}
|