{"action":"closed","issue":{"url":"https://api.github.com/repos/mantidproject/mantid/issues/15032","labels_url":"https://api.github.com/repos/mantidproject/mantid/issues/15032/labels{/name}","comments_url":"https://api.github.com/repos/mantidproject/mantid/issues/15032/comments","events_url":"https://api.github.com/repos/mantidproject/mantid/issues/15032/events","html_url":"https://github.com/mantidproject/mantid/issues/15032","id":127659764,"number":15032,"title":"Error plotting with custom grouping in MuonAnalysis","user":{"login":"tom-perkins","id":15363125,"avatar_url":"https://avatars.githubusercontent.com/u/15363125?v=3","gravatar_id":"","url":"https://api.github.com/users/tom-perkins","html_url":"https://github.com/tom-perkins","followers_url":"https://api.github.com/users/tom-perkins/followers","following_url":"https://api.github.com/users/tom-perkins/following{/other_user}","gists_url":"https://api.github.com/users/tom-perkins/gists{/gist_id}","starred_url":"https://api.github.com/users/tom-perkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tom-perkins/subscriptions","organizations_url":"https://api.github.com/users/tom-perkins/orgs","repos_url":"https://api.github.com/users/tom-perkins/repos","events_url":"https://api.github.com/users/tom-perkins/events{/privacy}","received_events_url":"https://api.github.com/users/tom-perkins/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mantidproject/mantid/labels/Component:%20Muon","name":"Component: Muon","color":"009800"},{"url":"https://api.github.com/repos/mantidproject/mantid/labels/Misc:%20Bugfix","name":"Misc: Bugfix","color":"d4c5f9"},{"url":"https://api.github.com/repos/mantidproject/mantid/labels/State:%20In%20Progress","name":"State: In Progress","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"tom-perkins","id":15363125,"avatar_url":"https://avatars.githubusercontent.com/u/15363125?v=3","gravatar_id":"","url":"https://api.github.com/users/tom-perkins","html_url":"https://github.com/tom-perkins","followers_url":"https://api.github.com/users/tom-perkins/followers","following_url":"https://api.github.com/users/tom-perkins/following{/other_user}","gists_url":"https://api.github.com/users/tom-perkins/gists{/gist_id}","starred_url":"https://api.github.com/users/tom-perkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tom-perkins/subscriptions","organizations_url":"https://api.github.com/users/tom-perkins/orgs","repos_url":"https://api.github.com/users/tom-perkins/repos","events_url":"https://api.github.com/users/tom-perkins/events{/privacy}","received_events_url":"https://api.github.com/users/tom-perkins/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mantidproject/mantid/milestones/4","html_url":"https://github.com/mantidproject/mantid/milestones/Release%203.6","labels_url":"https://api.github.com/repos/mantidproject/mantid/milestones/4/labels","id":1106937,"number":4,"title":"Release 3.6","description":"Code Freeze 16-Jan-2016\r\nBeta Test Opens 22-Jan-2016\r\nBeta Test Closes 9-Feb-2016\r\nRelease 15-Feb-2016","creator":{"login":"peterfpeterson","id":404003,"avatar_url":"https://avatars.githubusercontent.com/u/404003?v=3","gravatar_id":"","url":"https://api.github.com/users/peterfpeterson","html_url":"https://github.com/peterfpeterson","followers_url":"https://api.github.com/users/peterfpeterson/followers","following_url":"https://api.github.com/users/peterfpeterson/following{/other_user}","gists_url":"https://api.github.com/users/peterfpeterson/gists{/gist_id}","starred_url":"https://api.github.com/users/peterfpeterson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterfpeterson/subscriptions","organizations_url":"https://api.github.com/users/peterfpeterson/orgs","repos_url":"https://api.github.com/users/peterfpeterson/repos","events_url":"https://api.github.com/users/peterfpeterson/events{/privacy}","received_events_url":"https://api.github.com/users/peterfpeterson/received_events","type":"User","site_admin":false},"open_issues":536,"closed_issues":1070,"state":"open","created_at":"2015-05-12T15:36:23Z","updated_at":"2016-01-20T13:21:05Z","due_on":"2016-02-15T00:00:00Z","closed_at":null},"comments":0,"created_at":"2016-01-20T11:09:55Z","updated_at":"2016-01-20T13:21:05Z","closed_at":"2016-01-20T13:21:05Z","body":"Issue discovered during unscripted manual testing.\r\n\r\nTo replicate:\r\n- Launch MuonAnalysis interface and select a muon instrument e.g. EMU.\r\n- Load a file\r\n- Go to Grouping Options tab and set a custom group. On editing the grouping table you will see that the workspace `MuonAnalysisGrouped` changes from a group to a single workspace.\r\n- Trying to plot now produces an error dialog - the log gives the message `Invalid value for SummedPeriodSet: Cannot analyse: list of periods to sum was empty`\r\n\r\nI can replicate this reliably for data on all instruments except MUSR, for some reason - there it sometimes works and sometimes doesn't.\r\n\r\nTo do:\r\n- Find out why editing the grouping table produces an error (and makes `MuonAnalysisGrouped` a single workspace)\r\n- If `MuonAnalysisGrouped` isn't a group for whatever reason, deal sensibly with this case."}}