{"action":"created","issue":{"url":"https://api.github.com/repos/incf-nidash/nidm-query/issues/8","labels_url":"https://api.github.com/repos/incf-nidash/nidm-query/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/incf-nidash/nidm-query/issues/8/comments","events_url":"https://api.github.com/repos/incf-nidash/nidm-query/issues/8/events","html_url":"https://github.com/incf-nidash/nidm-query/pull/8","id":114547850,"number":8,"title":"fix: NIDM-Results query for peak coordinates","user":{"login":"cmaumet","id":5374264,"avatar_url":"https://avatars.githubusercontent.com/u/5374264?v=3","gravatar_id":"","url":"https://api.github.com/users/cmaumet","html_url":"https://github.com/cmaumet","followers_url":"https://api.github.com/users/cmaumet/followers","following_url":"https://api.github.com/users/cmaumet/following{/other_user}","gists_url":"https://api.github.com/users/cmaumet/gists{/gist_id}","starred_url":"https://api.github.com/users/cmaumet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmaumet/subscriptions","organizations_url":"https://api.github.com/users/cmaumet/orgs","repos_url":"https://api.github.com/users/cmaumet/repos","events_url":"https://api.github.com/users/cmaumet/events{/privacy}","received_events_url":"https://api.github.com/users/cmaumet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-02T08:30:16Z","updated_at":"2015-11-02T11:59:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/incf-nidash/nidm-query/pulls/8","html_url":"https://github.com/incf-nidash/nidm-query/pull/8","diff_url":"https://github.com/incf-nidash/nidm-query/pull/8.diff","patch_url":"https://github.com/incf-nidash/nidm-query/pull/8.patch"},"body":"Hi @nicholsn, @vsoch,\r\n\r\nFollowing discussions at https://github.com/NeuroVault/NeuroVault/pull/354#issuecomment-152852641, this PR fixes the NIDM-Results query to get peak coordinates (very similar to [peak.rq](https://github.com/incf-nidash/nidm/blob/master/nidm/nidm-results/query/peak.rq)). \r\n\r\n> we see two issues here :  one is the the same statmap file location (for example, ZStatistic003.nii.gz in the right column at the way top) is associated with two file names (zstat3 and Zstatistic_T003.nii.gz)  I'm not sure if the second is a Z or a T map because it has both names. \r\n\r\nThe filename is not guaranteed to be unique. With an FSL export (such as this one) you will have two filenames for each Z-map. The first one is the one used by FSL (e.g. `zstat1.nii.gz`), the second one is the one generated by the export (e.g. `Zstatistic_T001.nii.gz`). \r\n\r\nI have removed this variable from the query, as I don't think you need it for the viewer? Or do you?  \r\n\r\n> The second issue, is obviously that we have the same coordinate for every single map. \r\n\r\nThis is odd... There might be an issue with the turtle document. I have just run this locally on [fsl_nidm.ttl](https://github.com/incf-nidash/nidm/blob/master/nidm/nidm/nidm-results/fsl/example001/fsl_nidm.ttl) and I don't have this issue. Let me know if you still have it after updating the query. "},"comment":{"url":"https://api.github.com/repos/incf-nidash/nidm-query/issues/comments/152998386","html_url":"https://github.com/incf-nidash/nidm-query/pull/8#issuecomment-152998386","issue_url":"https://api.github.com/repos/incf-nidash/nidm-query/issues/8","id":152998386,"user":{"login":"vsoch","id":814322,"avatar_url":"https://avatars.githubusercontent.com/u/814322?v=3","gravatar_id":"","url":"https://api.github.com/users/vsoch","html_url":"https://github.com/vsoch","followers_url":"https://api.github.com/users/vsoch/followers","following_url":"https://api.github.com/users/vsoch/following{/other_user}","gists_url":"https://api.github.com/users/vsoch/gists{/gist_id}","starred_url":"https://api.github.com/users/vsoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsoch/subscriptions","organizations_url":"https://api.github.com/users/vsoch/orgs","repos_url":"https://api.github.com/users/vsoch/repos","events_url":"https://api.github.com/users/vsoch/events{/privacy}","received_events_url":"https://api.github.com/users/vsoch/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T11:59:03Z","updated_at":"2015-11-02T11:59:03Z","body":"ok cool! This seems like a good update. I will try out the query in the viewer and give you an update!"}}