{"action":"created","issue":{"url":"https://api.github.com/repos/GMOD/jbrowse/issues/585","labels_url":"https://api.github.com/repos/GMOD/jbrowse/issues/585/labels{/name}","comments_url":"https://api.github.com/repos/GMOD/jbrowse/issues/585/comments","events_url":"https://api.github.com/repos/GMOD/jbrowse/issues/585/events","html_url":"https://github.com/GMOD/jbrowse/issues/585","id":71656535,"number":585,"title":"defaultTracks fail to show if there is a space in the label","user":{"login":"scottcain","id":274751,"avatar_url":"https://avatars.githubusercontent.com/u/274751?v=3","gravatar_id":"","url":"https://api.github.com/users/scottcain","html_url":"https://github.com/scottcain","followers_url":"https://api.github.com/users/scottcain/followers","following_url":"https://api.github.com/users/scottcain/following{/other_user}","gists_url":"https://api.github.com/users/scottcain/gists{/gist_id}","starred_url":"https://api.github.com/users/scottcain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottcain/subscriptions","organizations_url":"https://api.github.com/users/scottcain/orgs","repos_url":"https://api.github.com/users/scottcain/repos","events_url":"https://api.github.com/users/scottcain/events{/privacy}","received_events_url":"https://api.github.com/users/scottcain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-28T17:49:06Z","updated_at":"2015-04-30T21:37:41Z","closed_at":null,"body":"When setting defaultTracks in jbrowse.conf, if there is a space in the track label, the track will fail to display, while the rest of JBrowse works just fine with spaces in the labels.  I tried several variations on the defaultTracks syntax, including:\r\n```\r\ndefaultTracks = Classical alleles,Polymorphisms,Curated Genes\r\ndefaultTracks = Classical%20alleles,Polymorphisms,Curated%20Genes\r\ndefaultTracks = \"Classical alleles\",Polymorphisms,\"Curated Genes\"\r\ndefaultTracks = 'Classical alleles',Polymorphisms,'Curated Genes'\r\ndefaultTracks = Classical%20alleles%2CPolymorphisms%2CCurated%20Genes\r\ndefaultTracks = Classical%20alleles+Polymorphisms+Curated%20Genes\r\n```\r\nNone of which worked.  Of course, there is no mention in the documentation that spaces are not allowed (it specifies \"machine readable\", but since the rest of JBrowse works, I assume my track labels are machine readable)."},"comment":{"url":"https://api.github.com/repos/GMOD/jbrowse/issues/comments/97975959","html_url":"https://github.com/GMOD/jbrowse/issues/585#issuecomment-97975959","issue_url":"https://api.github.com/repos/GMOD/jbrowse/issues/585","id":97975959,"user":{"login":"scottcain","id":274751,"avatar_url":"https://avatars.githubusercontent.com/u/274751?v=3","gravatar_id":"","url":"https://api.github.com/users/scottcain","html_url":"https://github.com/scottcain","followers_url":"https://api.github.com/users/scottcain/followers","following_url":"https://api.github.com/users/scottcain/following{/other_user}","gists_url":"https://api.github.com/users/scottcain/gists{/gist_id}","starred_url":"https://api.github.com/users/scottcain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottcain/subscriptions","organizations_url":"https://api.github.com/users/scottcain/orgs","repos_url":"https://api.github.com/users/scottcain/repos","events_url":"https://api.github.com/users/scottcain/events{/privacy}","received_events_url":"https://api.github.com/users/scottcain/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T21:37:41Z","updated_at":"2015-04-30T21:37:41Z","body":"Hi @cmdcolin ,\r\n\r\nActually, I'm pretty sure defaultTracks is exactly what I want.  I created an Ubuntu virtual machine that I just cloned over and over to make sure every time I went to the site it was a \"first time\" visit so that I could test the various options.  I just want the tracks turned on the first time someone visits the site and then let the user decide what to have after that.  forceTracks might be a viable alternative, I'll test to see if it works.  I kind of like the idea of letting it be overridden by a URL list, so that might be better (though the naming is not so great: force to me says those tracks are always there, darn it! Where as default means they're there unless you have a better idea, like a cookie or a list from a URL--so it goes).\r\n\r\nI am pretty sure that spaces are the problem, because during my testing, the only thing that worked was to add underscores where there were spaces in both the defaultTracks setting and in the track config.  Taking the underscores back out broke it again, which is to say in the above example, I would only get the \"Polymorphisms\" track, but not the \"Classical alleles\" or \"Curated genes\" tracks.\r\n\r\nNow, is this a huge problem for me? No, because I can just add the underscores and be done, but since it wasn't documented to be required, it's technically a bug.\r\n"}}