twsaari / FeatureSequence

JBrowse plugin to view the sequence of features
GNU General Public License v3.0
7 stars 3 forks source link

missing ], in trackList.json suggested config #3

Closed colindaven closed 8 years ago

colindaven commented 8 years ago

Cheers for the great plugin!

This snippet is probably more informative/correct. The final "]," was missing.

      {
         "key" : "Example_Track",
         "label" : "Example_Track",
         "menuTemplate" : [
            {},
            {},
            {
               "content" : "function(track,feature){return track.browser.plugins.FeatureSequence.callFxn(track, feature); }",
               "label" : "View Feature Sequence",
               "action" : "contentDialog",
               "iconClass" : "dijitIconBookmark"
            },
           ],

      },
twsaari commented 8 years ago

Thanks for noticing this! I always seem to miss that when copy-pasting. I've just updated the README to correct it and make it a little bit clearer.

colindaven commented 8 years ago

Thanks