{"action":"created","issue":{"url":"https://api.github.com/repos/sanworks/Bpod/issues/5","repository_url":"https://api.github.com/repos/sanworks/Bpod","labels_url":"https://api.github.com/repos/sanworks/Bpod/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/sanworks/Bpod/issues/5/comments","events_url":"https://api.github.com/repos/sanworks/Bpod/issues/5/events","html_url":"https://github.com/sanworks/Bpod/issues/5","id":158623606,"number":5,"title":"Use of `run` in LaunchManager","user":{"login":"jerlich","id":2465395,"avatar_url":"https://avatars.githubusercontent.com/u/2465395?v=3","gravatar_id":"","url":"https://api.github.com/users/jerlich","html_url":"https://github.com/jerlich","followers_url":"https://api.github.com/users/jerlich/followers","following_url":"https://api.github.com/users/jerlich/following{/other_user}","gists_url":"https://api.github.com/users/jerlich/gists{/gist_id}","starred_url":"https://api.github.com/users/jerlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerlich/subscriptions","organizations_url":"https://api.github.com/users/jerlich/orgs","repos_url":"https://api.github.com/users/jerlich/repos","events_url":"https://api.github.com/users/jerlich/events{/privacy}","received_events_url":"https://api.github.com/users/jerlich/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-06T08:20:21Z","updated_at":"2016-09-24T22:06:14Z","closed_at":"2016-09-24T22:06:14Z","body":"What is the advantage of using `run(ProtocolPath)` vs. `addpath(Protocolparentfolder); eval(ProtocolName)`?\r\n\r\nI understand that `run` effectively switches to the `ProtocolPath`, which gives the side-effect of having other files in that folder on the path, but that seems a bit weak, since if other calls switch directories those other files will no longer be on the path.  \r\n\r\nSeems safer to me to `addpath` before running the protocol and then `rmpath` at the end to avoid name conflicts.\r\n"},"comment":{"url":"https://api.github.com/repos/sanworks/Bpod/issues/comments/249390296","html_url":"https://github.com/sanworks/Bpod/issues/5#issuecomment-249390296","issue_url":"https://api.github.com/repos/sanworks/Bpod/issues/5","id":249390296,"user":{"login":"sanworks","id":17090284,"avatar_url":"https://avatars.githubusercontent.com/u/17090284?v=3","gravatar_id":"","url":"https://api.github.com/users/sanworks","html_url":"https://github.com/sanworks","followers_url":"https://api.github.com/users/sanworks/followers","following_url":"https://api.github.com/users/sanworks/following{/other_user}","gists_url":"https://api.github.com/users/sanworks/gists{/gist_id}","starred_url":"https://api.github.com/users/sanworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanworks/subscriptions","organizations_url":"https://api.github.com/users/sanworks/orgs","repos_url":"https://api.github.com/users/sanworks/repos","events_url":"https://api.github.com/users/sanworks/events{/privacy}","received_events_url":"https://api.github.com/users/sanworks/received_events","type":"User","site_admin":false},"created_at":"2016-09-24T22:06:14Z","updated_at":"2016-09-24T22:06:14Z","body":"addpath and rmpath are called in RunProtocol. RunProtocol is directly called from the play/pause button (prior to the launch manager GUI, where run(protocolpath) is )."}}
{"actor":{"display_login":"sanworks"}}