{"action":"created","issue":{"url":"https://api.github.com/repos/isolver/OpenHandWrite/issues/177","repository_url":"https://api.github.com/repos/isolver/OpenHandWrite","labels_url":"https://api.github.com/repos/isolver/OpenHandWrite/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/isolver/OpenHandWrite/issues/177/comments","events_url":"https://api.github.com/repos/isolver/OpenHandWrite/issues/177/events","html_url":"https://github.com/isolver/OpenHandWrite/issues/177","id":153405637,"number":177,"title":"Read in trial data from a text file","user":{"login":"Mark-Torrance","id":3226576,"avatar_url":"https://avatars.githubusercontent.com/u/3226576?v=3","gravatar_id":"","url":"https://api.github.com/users/Mark-Torrance","html_url":"https://github.com/Mark-Torrance","followers_url":"https://api.github.com/users/Mark-Torrance/followers","following_url":"https://api.github.com/users/Mark-Torrance/following{/other_user}","gists_url":"https://api.github.com/users/Mark-Torrance/gists{/gist_id}","starred_url":"https://api.github.com/users/Mark-Torrance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mark-Torrance/subscriptions","organizations_url":"https://api.github.com/users/Mark-Torrance/orgs","repos_url":"https://api.github.com/users/Mark-Torrance/repos","events_url":"https://api.github.com/users/Mark-Torrance/events{/privacy}","received_events_url":"https://api.github.com/users/Mark-Torrance/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/isolver/OpenHandWrite/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/isolver/OpenHandWrite/labels/MarkWrite","name":"MarkWrite","color":"f7c6c7"},{"url":"https://api.github.com/repos/isolver/OpenHandWrite/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"isolver","id":1795082,"avatar_url":"https://avatars.githubusercontent.com/u/1795082?v=3","gravatar_id":"","url":"https://api.github.com/users/isolver","html_url":"https://github.com/isolver","followers_url":"https://api.github.com/users/isolver/followers","following_url":"https://api.github.com/users/isolver/following{/other_user}","gists_url":"https://api.github.com/users/isolver/gists{/gist_id}","starred_url":"https://api.github.com/users/isolver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isolver/subscriptions","organizations_url":"https://api.github.com/users/isolver/orgs","repos_url":"https://api.github.com/users/isolver/repos","events_url":"https://api.github.com/users/isolver/events{/privacy}","received_events_url":"https://api.github.com/users/isolver/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/isolver/OpenHandWrite/milestones/2","html_url":"https://github.com/isolver/OpenHandWrite/milestones/Future%20Functionality%20-%20Date%20Unknown","labels_url":"https://api.github.com/repos/isolver/OpenHandWrite/milestones/2/labels","id":1067301,"number":2,"title":"Future Functionality - Date Unknown","description":"This milestone will act as a placeholder for open issues that have been identified as desired features or bug fixes for the application, but have no agreed delivery / milestone date.","creator":{"login":"isolver","id":1795082,"avatar_url":"https://avatars.githubusercontent.com/u/1795082?v=3","gravatar_id":"","url":"https://api.github.com/users/isolver","html_url":"https://github.com/isolver","followers_url":"https://api.github.com/users/isolver/followers","following_url":"https://api.github.com/users/isolver/following{/other_user}","gists_url":"https://api.github.com/users/isolver/gists{/gist_id}","starred_url":"https://api.github.com/users/isolver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isolver/subscriptions","organizations_url":"https://api.github.com/users/isolver/orgs","repos_url":"https://api.github.com/users/isolver/repos","events_url":"https://api.github.com/users/isolver/events{/privacy}","received_events_url":"https://api.github.com/users/isolver/received_events","type":"User","site_admin":false},"open_issues":33,"closed_issues":4,"state":"open","created_at":"2015-04-14T17:01:30Z","updated_at":"2016-05-06T08:43:48Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-05-06T08:43:48Z","updated_at":"2016-05-09T14:15:13Z","closed_at":null,"body":"Currently MW can create trial-level segments from HDF5 (GetWrite) data files that contain trial data. Trials are not recognised in any other input data (txyp, hdf5).\r\n\r\nIt would be good if this were possible (specifically to permit analysis of data already collected by @g-no.\r\n\r\nIf we created a text files that looked something vaguely like this (or whatever works):\r\n\r\n##Trial1_start, time\r\nt,x,y,p \r\nt,x,y,p\r\n....lots more samples\r\n##Trail2_start, time\r\n t,x,y,p\r\nt,x,y,p\r\netc.\r\n\r\nwould it be possible to create a data importer in MW that reads it and segments by trials? If so, exactly what information is needed in the text file to achieve this?\r\n"},"comment":{"url":"https://api.github.com/repos/isolver/OpenHandWrite/issues/comments/217876361","html_url":"https://github.com/isolver/OpenHandWrite/issues/177#issuecomment-217876361","issue_url":"https://api.github.com/repos/isolver/OpenHandWrite/issues/177","id":217876361,"user":{"login":"Mark-Torrance","id":3226576,"avatar_url":"https://avatars.githubusercontent.com/u/3226576?v=3","gravatar_id":"","url":"https://api.github.com/users/Mark-Torrance","html_url":"https://github.com/Mark-Torrance","followers_url":"https://api.github.com/users/Mark-Torrance/followers","following_url":"https://api.github.com/users/Mark-Torrance/following{/other_user}","gists_url":"https://api.github.com/users/Mark-Torrance/gists{/gist_id}","starred_url":"https://api.github.com/users/Mark-Torrance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mark-Torrance/subscriptions","organizations_url":"https://api.github.com/users/Mark-Torrance/orgs","repos_url":"https://api.github.com/users/Mark-Torrance/repos","events_url":"https://api.github.com/users/Mark-Torrance/events{/privacy}","received_events_url":"https://api.github.com/users/Mark-Torrance/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T14:15:13Z","updated_at":"2016-05-09T14:15:13Z","body":"That's exactly the sort of thing that I had in mind. You could just add that to the txyp importer (for generic txyp files)?\r\n\r\n@gnot how urgent is this?\r\n@isolver how many hours to do this?\r\n\r\nI'm aware that we don't yet have a report exporter that makes use of these trial variables. This would be good reason for me to get on and do this. However, I would prefer to leave it until July."}}