P1EdaVisualizer files do not render with DErivBase alignments due to space/dots in resource name

3 views
Skip to first unread message

gloriann...@gmail.com

unread,
Jul 12, 2016, 6:58:24 AM7/12/16
to eop-users
Dear EOP-developers,

I find the visualization facility (P1EdaVisualizer) of EOP very useful.

However, I noticed that it does not work if the T/H pair contains alignments created with the resource DErivBase.
I investigated this issue and found that it is due to the name of the resource that is used as variable name and identifier throughout the html file.
The problem is that the resource name contains a space and a dot: 'DErivBase v1.4
For example, the html file will contain variable names such as 'is_DErivBase v1.4' or identifiers of html elements such as 'relations_DErivBase v1.4' which cause javascript to fail due to syntax errors in the first case and not-found elements in the latter case.

Replacing all occurrences of 'DErivBase v1.4' by e.g. DErivBase_v1_4 fixes the issue.
For reference I attach the original html file that was produced by the P1EdaVisualizer that does not render and the one where I replaced the occurences of 'DErivBase v1.4' by DErivBase_v1_4, which works.

Probably this issue will also occur with other types of alignments where the resource name contains characters invalid for javascript variable names or html identifiers.

Best wishes
Glorianna

visualizationFileNotRendering.html
visualizationFileRendering.html
Reply all
Reply to author
Forward
0 new messages