{"action":"created","issue":{"url":"https://api.github.com/repos/mantidproject/mantid/issues/15750","repository_url":"https://api.github.com/repos/mantidproject/mantid","labels_url":"https://api.github.com/repos/mantidproject/mantid/issues/15750/labels{/name}","comments_url":"https://api.github.com/repos/mantidproject/mantid/issues/15750/comments","events_url":"https://api.github.com/repos/mantidproject/mantid/issues/15750/events","html_url":"https://github.com/mantidproject/mantid/issues/15750","id":143284998,"number":15750,"title":"GroupDetectors allows SpectraList to contain too many spectra","user":{"login":"MattKing06","id":13132124,"avatar_url":"https://avatars.githubusercontent.com/u/13132124?v=3","gravatar_id":"","url":"https://api.github.com/users/MattKing06","html_url":"https://github.com/MattKing06","followers_url":"https://api.github.com/users/MattKing06/followers","following_url":"https://api.github.com/users/MattKing06/following{/other_user}","gists_url":"https://api.github.com/users/MattKing06/gists{/gist_id}","starred_url":"https://api.github.com/users/MattKing06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattKing06/subscriptions","organizations_url":"https://api.github.com/users/MattKing06/orgs","repos_url":"https://api.github.com/users/MattKing06/repos","events_url":"https://api.github.com/users/MattKing06/events{/privacy}","received_events_url":"https://api.github.com/users/MattKing06/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mantidproject/mantid/labels/Component:%20Framework","name":"Component: Framework","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mantidproject/mantid/milestones/5","html_url":"https://github.com/mantidproject/mantid/milestones/Release%203.7","labels_url":"https://api.github.com/repos/mantidproject/mantid/milestones/5/labels","id":1106939,"number":5,"title":"Release 3.7","description":"","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":568,"closed_issues":438,"state":"open","created_at":"2015-05-12T15:38:13Z","updated_at":"2016-03-28T22:14:33Z","due_on":"2016-06-05T23:00:00Z","closed_at":null},"comments":1,"created_at":"2016-03-24T15:54:24Z","updated_at":"2016-03-29T07:03:34Z","closed_at":null,"body":"<!-- TEMPLATE FOR BUG REPORTS -->\r\n\r\n### Expected behavior\r\n- When GroupDetectors is provided with more spectra than the amount in a workspace the algorithm should fail and report back to the user that those spectra do not exist.\r\n\r\n### Actual behavior\r\n- Algorithm finishes and a workspace containing one spectra with the sum of all the available spectra as an entry in Y values.\r\n- This spectrum is now labelled as `sp-0`\r\n\r\n### Steps to reproduce the behavior\r\n- Load in any run file\r\n- Open dialog for GroupDetectors and use this workspace as the InputWorkspace\r\n- Provide a list of spectra for the SpectraList property that exceeds the number of spectra in the workspace\r\n- Run GroupDetectors\r\n- See that the algorithm finishes and the one spectrum in the output workspace contains the sum of all of the spectra in the SpectraList.\r\n- See that this spectrum is labelled as `sp-0` in the data view.\r\n\r\n### Platforms affected\r\n- All"},"comment":{"url":"https://api.github.com/repos/mantidproject/mantid/issues/comments/202747527","html_url":"https://github.com/mantidproject/mantid/issues/15750#issuecomment-202747527","issue_url":"https://api.github.com/repos/mantidproject/mantid/issues/15750","id":202747527,"user":{"login":"SimonHeybrock","id":12912489,"avatar_url":"https://avatars.githubusercontent.com/u/12912489?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonHeybrock","html_url":"https://github.com/SimonHeybrock","followers_url":"https://api.github.com/users/SimonHeybrock/followers","following_url":"https://api.github.com/users/SimonHeybrock/following{/other_user}","gists_url":"https://api.github.com/users/SimonHeybrock/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonHeybrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonHeybrock/subscriptions","organizations_url":"https://api.github.com/users/SimonHeybrock/orgs","repos_url":"https://api.github.com/users/SimonHeybrock/repos","events_url":"https://api.github.com/users/SimonHeybrock/events{/privacy}","received_events_url":"https://api.github.com/users/SimonHeybrock/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T07:03:34Z","updated_at":"2016-03-29T07:03:34Z","body":"Have a look at https://github.com/mantidproject/documents/pull/13#issuecomment-199483356. If we go forward with that suggestion it may implicitly fix this issue, so it might be worth postponing work on this issue for now."}}