naturalis/supersmart

parse error in `smrt-utils plot`

Opened this issue · 4 comments

Trying to visualize this tree with default parameters (smrt-utils plot), I am getting the error:

file error - parse error - /Users/hettling/git/supersmart/data/VISUALIZATION/supersmart.tmpl line 13: unexpected token (.)
  [% INSERT jquery-2.1.4.min.js %]

Other examples gibe the same error, and I cannot figure out what the problem is.

rvosa commented

Maybe the file name in the insert statement need to be quoted to escape the
periods? I think it is trying to interpret them as method calls - though I
hadn't seen this error previously....

On Mon, Nov 9, 2015 at 11:11 PM, hettling notifications@github.com wrote:

Trying to visualize this
https://raw.githubusercontent.com/naturalis/supersmart/master/examples/primates/final.nex
tree with default parameters (smrt-utils plot), I am getting the error:

file error - parse error - /Users/hettling/git/supersmart/data/VISUALIZATION/supersmart.tmpl line 13: unexpected token (.)
[% INSERT jquery-2.1.4.min.js %]

Other examples gibe the same error, and I cannot figure out what the
problem is.


Reply to this email directly or view it on GitHub
#87.

Commit 10d90fc stops errors and smrt-utils plot produces output. However, when I open the generated html in my Browser, I get a blank page...

Clades with marker files are now checked into the examples directory: https://github.com/naturalis/supersmart/tree/master/examples/primates. From there I call smrt-utils plot with output supersmart.html which does not show in my browser.

rvosa commented

So there is an inconsistency between the tree that is in that folder and the marker tables: the tables, both for the backbone and in several clades, contain taxa that are not in 'final.nex' (apparently due to #88)