{"action":"created","issue":{"url":"https://api.github.com/repos/BaselLaserMouse/StitchIt/issues/120","repository_url":"https://api.github.com/repos/BaselLaserMouse/StitchIt","labels_url":"https://api.github.com/repos/BaselLaserMouse/StitchIt/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/BaselLaserMouse/StitchIt/issues/120/comments","events_url":"https://api.github.com/repos/BaselLaserMouse/StitchIt/issues/120/events","html_url":"https://github.com/BaselLaserMouse/StitchIt/issues/120","id":395769174,"node_id":"MDU6SXNzdWUzOTU3NjkxNzQ=","number":120,"title":"Make it possible for syncAndCrunch to start without any input args","user":{"login":"raacampbell","id":5427811,"node_id":"MDQ6VXNlcjU0Mjc4MTE=","avatar_url":"https://avatars2.githubusercontent.com/u/5427811?v=4","gravatar_id":"","url":"https://api.github.com/users/raacampbell","html_url":"https://github.com/raacampbell","followers_url":"https://api.github.com/users/raacampbell/followers","following_url":"https://api.github.com/users/raacampbell/following{/other_user}","gists_url":"https://api.github.com/users/raacampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/raacampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raacampbell/subscriptions","organizations_url":"https://api.github.com/users/raacampbell/orgs","repos_url":"https://api.github.com/users/raacampbell/repos","events_url":"https://api.github.com/users/raacampbell/events{/privacy}","received_events_url":"https://api.github.com/users/raacampbell/received_events","type":"User","site_admin":false},"labels":[{"id":369514168,"node_id":"MDU6TGFiZWwzNjk1MTQxNjg=","url":"https://api.github.com/repos/BaselLaserMouse/StitchIt/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-01-04T00:09:58Z","updated_at":"2019-01-04T16:01:08Z","closed_at":null,"author_association":"MEMBER","body":"We simply need to add a default source directory (just like we currently have a default landing directory) then we can search for the most recently created directories until we find an acquisition log file that was updated in the last 10 minutes. Then we can load `scanSettings.mat` and look in `scanSettings.hChannels.channelDisplay` for which channel the user is displaying on screen. That can be the default channel to send to the web. \r\n\r\nWe can have an external function that searches for that information and returns it. Maybe we could even have this function return the stats of all experiments in the landing directory. Just for completeness, it might be nice to see. \r\n\r\nSo the user will simply need to know:\r\n1. Start `tmux` session on `joiner` or join existing session\r\n2. Start `MATLAB` if necessary\r\n3. Run `syncAndCrunch`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/BaselLaserMouse/StitchIt/issues/comments/451485358","html_url":"https://github.com/BaselLaserMouse/StitchIt/issues/120#issuecomment-451485358","issue_url":"https://api.github.com/repos/BaselLaserMouse/StitchIt/issues/120","id":451485358,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTQ4NTM1OA==","user":{"login":"raacampbell","id":5427811,"node_id":"MDQ6VXNlcjU0Mjc4MTE=","avatar_url":"https://avatars2.githubusercontent.com/u/5427811?v=4","gravatar_id":"","url":"https://api.github.com/users/raacampbell","html_url":"https://github.com/raacampbell","followers_url":"https://api.github.com/users/raacampbell/followers","following_url":"https://api.github.com/users/raacampbell/following{/other_user}","gists_url":"https://api.github.com/users/raacampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/raacampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raacampbell/subscriptions","organizations_url":"https://api.github.com/users/raacampbell/orgs","repos_url":"https://api.github.com/users/raacampbell/repos","events_url":"https://api.github.com/users/raacampbell/events{/privacy}","received_events_url":"https://api.github.com/users/raacampbell/received_events","type":"User","site_admin":false},"created_at":"2019-01-04T16:01:08Z","updated_at":"2019-01-04T16:01:08Z","author_association":"MEMBER","body":"It now starts without input args: da7a01d55e4f93d066bc19aecd9d93942366f18a\r\n- [ ] Add the acquisition machine source directory to the INI file, since it's currently hard coded.\r\n- [ ] Tidy new code in commit. "}}
{"actor":{"display_login":"raacampbell"}}