{"action":"created","comment":{"url":"https://api.github.com/repos/NSLS-II/PyXRF/pulls/comments/54141697","id":54141697,"diff_hunk":"@@ -300,7 +309,10 @@ def get_spectrum(self, mask=None):\n def file_handler(working_directory, file_name):\n     # send information on GUI level later !\n     try:\n-        return read_hdf_APS(working_directory, file_name)\n+    \tif beamline_name == 'HXN':\n+                return read_hdf_APS(working_directory, file_name, spectrum_cut=2000)\n+       \tif beamline_name == 'SRX':\n+                return read_hdf_APS(working_directory, file_name, spectrum_cut=2000)","path":"pyxrf/model/fileio.py","position":30,"original_position":30,"commit_id":"bede20e07b3b3b0478c65f2f1bd21785770fb31d","original_commit_id":"bede20e07b3b3b0478c65f2f1bd21785770fb31d","user":{"login":"licode","id":4765544,"avatar_url":"https://avatars.githubusercontent.com/u/4765544?v=3","gravatar_id":"","url":"https://api.github.com/users/licode","html_url":"https://github.com/licode","followers_url":"https://api.github.com/users/licode/followers","following_url":"https://api.github.com/users/licode/following{/other_user}","gists_url":"https://api.github.com/users/licode/gists{/gist_id}","starred_url":"https://api.github.com/users/licode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/licode/subscriptions","organizations_url":"https://api.github.com/users/licode/orgs","repos_url":"https://api.github.com/users/licode/repos","events_url":"https://api.github.com/users/licode/events{/privacy}","received_events_url":"https://api.github.com/users/licode/received_events","type":"User","site_admin":false},"body":"It is weird because everything looks fine in atom.","created_at":"2016-02-25T18:37:21Z","updated_at":"2016-02-25T18:37:21Z","html_url":"https://github.com/NSLS-II/PyXRF/pull/68#discussion_r54141697","pull_request_url":"https://api.github.com/repos/NSLS-II/PyXRF/pulls/68","_links":{"self":{"href":"https://api.github.com/repos/NSLS-II/PyXRF/pulls/comments/54141697"},"html":{"href":"https://github.com/NSLS-II/PyXRF/pull/68#discussion_r54141697"},"pull_request":{"href":"https://api.github.com/repos/NSLS-II/PyXRF/pulls/68"}}},"pull_request":{"url":"https://api.github.com/repos/NSLS-II/PyXRF/pulls/68","id":60724829,"html_url":"https://github.com/NSLS-II/PyXRF/pull/68","diff_url":"https://github.com/NSLS-II/PyXRF/pull/68.diff","patch_url":"https://github.com/NSLS-II/PyXRF/pull/68.patch","issue_url":"https://api.github.com/repos/NSLS-II/PyXRF/issues/68","number":68,"state":"closed","locked":false,"title":"Srxio","user":{"login":"licode","id":4765544,"avatar_url":"https://avatars.githubusercontent.com/u/4765544?v=3","gravatar_id":"","url":"https://api.github.com/users/licode","html_url":"https://github.com/licode","followers_url":"https://api.github.com/users/licode/followers","following_url":"https://api.github.com/users/licode/following{/other_user}","gists_url":"https://api.github.com/users/licode/gists{/gist_id}","starred_url":"https://api.github.com/users/licode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/licode/subscriptions","organizations_url":"https://api.github.com/users/licode/orgs","repos_url":"https://api.github.com/users/licode/repos","events_url":"https://api.github.com/users/licode/events{/privacy}","received_events_url":"https://api.github.com/users/licode/received_events","type":"User","site_admin":false},"body":"Interface for srx is updated.","created_at":"2016-02-25T18:31:14Z","updated_at":"2016-02-25T18:37:21Z","closed_at":"2016-02-25T18:31:25Z","merged_at":"2016-02-25T18:31:25Z","merge_commit_sha":"890c1e8f38aff6e0644429332d338d29de659b44","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NSLS-II/PyXRF/pulls/68/commits","review_comments_url":"https://api.github.com/repos/NSLS-II/PyXRF/pulls/68/comments","review_comment_url":"https://api.github.com/repos/NSLS-II/PyXRF/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NSLS-II/PyXRF/issues/68/comments","statuses_url":"https://api.github.com/repos/NSLS-II/PyXRF/statuses/bede20e07b3b3b0478c65f2f1bd21785770fb31d","head":{"label":"licode:srxio","ref":"srxio","sha":"bede20e07b3b3b0478c65f2f1bd21785770fb31d","user":{"login":"licode","id":4765544,"avatar_url":"https://avatars.githubusercontent.com/u/4765544?v=3","gravatar_id":"","url":"https://api.github.com/users/licode","html_url":"https://github.com/licode","followers_url":"https://api.github.com/users/licode/followers","following_url":"https://api.github.com/users/licode/following{/other_user}","gists_url":"https://api.github.com/users/licode/gists{/gist_id}","starred_url":"https://api.github.com/users/licode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/licode/subscriptions","organizations_url":"https://api.github.com/users/licode/orgs","repos_url":"https://api.github.com/users/licode/repos","events_url":"https://api.github.com/users/licode/events{/privacy}","received_events_url":"https://api.github.com/users/licode/received_events","type":"User","site_admin":false},"repo":{"id":33486227,"name":"PyXRF","full_name":"licode/PyXRF","owner":{"login":"licode","id":4765544,"avatar_url":"https://avatars.githubusercontent.com/u/4765544?v=3","gravatar_id":"","url":"https://api.github.com/users/licode","html_url":"https://github.com/licode","followers_url":"https://api.github.com/users/licode/followers","following_url":"https://api.github.com/users/licode/following{/other_user}","gists_url":"https://api.github.com/users/licode/gists{/gist_id}","starred_url":"https://api.github.com/users/licode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/licode/subscriptions","organizations_url":"https://api.github.com/users/licode/orgs","repos_url":"https://api.github.com/users/licode/repos","events_url":"https://api.github.com/users/licode/events{/privacy}","received_events_url":"https://api.github.com/users/licode/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/licode/PyXRF","description":"Fluorescence fitting GUI.","fork":true,"url":"https://api.github.com/repos/licode/PyXRF","forks_url":"https://api.github.com/repos/licode/PyXRF/forks","keys_url":"https://api.github.com/repos/licode/PyXRF/keys{/key_id}","collaborators_url":"https://api.github.com/repos/licode/PyXRF/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/licode/PyXRF/teams","hooks_url":"https://api.github.com/repos/licode/PyXRF/hooks","issue_events_url":"https://api.github.com/repos/licode/PyXRF/issues/events{/number}","events_url":"https://api.github.com/repos/licode/PyXRF/events","assignees_url":"https://api.github.com/repos/licode/PyXRF/assignees{/user}","branches_url":"https://api.github.com/repos/licode/PyXRF/branches{/branch}","tags_url":"https://api.github.com/repos/licode/PyXRF/tags","blobs_url":"https://api.github.com/repos/licode/PyXRF/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/licode/PyXRF/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/licode/PyXRF/git/refs{/sha}","trees_url":"https://api.github.com/repos/licode/PyXRF/git/trees{/sha}","statuses_url":"https://api.github.com/repos/licode/PyXRF/statuses/{sha}","languages_url":"https://api.github.com/repos/licode/PyXRF/languages","stargazers_url":"https://api.github.com/repos/licode/PyXRF/stargazers","contributors_url":"https://api.github.com/repos/licode/PyXRF/contributors","subscribers_url":"https://api.github.com/repos/licode/PyXRF/subscribers","subscription_url":"https://api.github.com/repos/licode/PyXRF/subscription","commits_url":"https://api.github.com/repos/licode/PyXRF/commits{/sha}","git_commits_url":"https://api.github.com/repos/licode/PyXRF/git/commits{/sha}","comments_url":"https://api.github.com/repos/licode/PyXRF/comments{/number}","issue_comment_url":"https://api.github.com/repos/licode/PyXRF/issues/comments{/number}","contents_url":"https://api.github.com/repos/licode/PyXRF/contents/{+path}","compare_url":"https://api.github.com/repos/licode/PyXRF/compare/{base}...{head}","merges_url":"https://api.github.com/repos/licode/PyXRF/merges","archive_url":"https://api.github.com/repos/licode/PyXRF/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/licode/PyXRF/downloads","issues_url":"https://api.github.com/repos/licode/PyXRF/issues{/number}","pulls_url":"https://api.github.com/repos/licode/PyXRF/pulls{/number}","milestones_url":"https://api.github.com/repos/licode/PyXRF/milestones{/number}","notifications_url":"https://api.github.com/repos/licode/PyXRF/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/licode/PyXRF/labels{/name}","releases_url":"https://api.github.com/repos/licode/PyXRF/releases{/id}","deployments_url":"https://api.github.com/repos/licode/PyXRF/deployments","created_at":"2015-04-06T14:30:31Z","updated_at":"2016-02-18T16:32:14Z","pushed_at":"2016-02-25T18:33:31Z","git_url":"git://github.com/licode/PyXRF.git","ssh_url":"git@github.com:licode/PyXRF.git","clone_url":"https://github.com/licode/PyXRF.git","svn_url":"https://github.com/licode/PyXRF","homepage":null,"size":901,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NSLS-II:master","ref":"master","sha":"002c4ec1756d8395d74336013754778390c16dfa","user":{"login":"NSLS-II","id":8700262,"avatar_url":"https://avatars.githubusercontent.com/u/8700262?v=3","gravatar_id":"","url":"https://api.github.com/users/NSLS-II","html_url":"https://github.com/NSLS-II","followers_url":"https://api.github.com/users/NSLS-II/followers","following_url":"https://api.github.com/users/NSLS-II/following{/other_user}","gists_url":"https://api.github.com/users/NSLS-II/gists{/gist_id}","starred_url":"https://api.github.com/users/NSLS-II/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NSLS-II/subscriptions","organizations_url":"https://api.github.com/users/NSLS-II/orgs","repos_url":"https://api.github.com/users/NSLS-II/repos","events_url":"https://api.github.com/users/NSLS-II/events{/privacy}","received_events_url":"https://api.github.com/users/NSLS-II/received_events","type":"Organization","site_admin":false},"repo":{"id":33327345,"name":"PyXRF","full_name":"NSLS-II/PyXRF","owner":{"login":"NSLS-II","id":8700262,"avatar_url":"https://avatars.githubusercontent.com/u/8700262?v=3","gravatar_id":"","url":"https://api.github.com/users/NSLS-II","html_url":"https://github.com/NSLS-II","followers_url":"https://api.github.com/users/NSLS-II/followers","following_url":"https://api.github.com/users/NSLS-II/following{/other_user}","gists_url":"https://api.github.com/users/NSLS-II/gists{/gist_id}","starred_url":"https://api.github.com/users/NSLS-II/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NSLS-II/subscriptions","organizations_url":"https://api.github.com/users/NSLS-II/orgs","repos_url":"https://api.github.com/users/NSLS-II/repos","events_url":"https://api.github.com/users/NSLS-II/events{/privacy}","received_events_url":"https://api.github.com/users/NSLS-II/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NSLS-II/PyXRF","description":"Fluorescence fitting GUI.","fork":false,"url":"https://api.github.com/repos/NSLS-II/PyXRF","forks_url":"https://api.github.com/repos/NSLS-II/PyXRF/forks","keys_url":"https://api.github.com/repos/NSLS-II/PyXRF/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NSLS-II/PyXRF/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NSLS-II/PyXRF/teams","hooks_url":"https://api.github.com/repos/NSLS-II/PyXRF/hooks","issue_events_url":"https://api.github.com/repos/NSLS-II/PyXRF/issues/events{/number}","events_url":"https://api.github.com/repos/NSLS-II/PyXRF/events","assignees_url":"https://api.github.com/repos/NSLS-II/PyXRF/assignees{/user}","branches_url":"https://api.github.com/repos/NSLS-II/PyXRF/branches{/branch}","tags_url":"https://api.github.com/repos/NSLS-II/PyXRF/tags","blobs_url":"https://api.github.com/repos/NSLS-II/PyXRF/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NSLS-II/PyXRF/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NSLS-II/PyXRF/git/refs{/sha}","trees_url":"https://api.github.com/repos/NSLS-II/PyXRF/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NSLS-II/PyXRF/statuses/{sha}","languages_url":"https://api.github.com/repos/NSLS-II/PyXRF/languages","stargazers_url":"https://api.github.com/repos/NSLS-II/PyXRF/stargazers","contributors_url":"https://api.github.com/repos/NSLS-II/PyXRF/contributors","subscribers_url":"https://api.github.com/repos/NSLS-II/PyXRF/subscribers","subscription_url":"https://api.github.com/repos/NSLS-II/PyXRF/subscription","commits_url":"https://api.github.com/repos/NSLS-II/PyXRF/commits{/sha}","git_commits_url":"https://api.github.com/repos/NSLS-II/PyXRF/git/commits{/sha}","comments_url":"https://api.github.com/repos/NSLS-II/PyXRF/comments{/number}","issue_comment_url":"https://api.github.com/repos/NSLS-II/PyXRF/issues/comments{/number}","contents_url":"https://api.github.com/repos/NSLS-II/PyXRF/contents/{+path}","compare_url":"https://api.github.com/repos/NSLS-II/PyXRF/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NSLS-II/PyXRF/merges","archive_url":"https://api.github.com/repos/NSLS-II/PyXRF/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NSLS-II/PyXRF/downloads","issues_url":"https://api.github.com/repos/NSLS-II/PyXRF/issues{/number}","pulls_url":"https://api.github.com/repos/NSLS-II/PyXRF/pulls{/number}","milestones_url":"https://api.github.com/repos/NSLS-II/PyXRF/milestones{/number}","notifications_url":"https://api.github.com/repos/NSLS-II/PyXRF/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NSLS-II/PyXRF/labels{/name}","releases_url":"https://api.github.com/repos/NSLS-II/PyXRF/releases{/id}","deployments_url":"https://api.github.com/repos/NSLS-II/PyXRF/deployments","created_at":"2015-04-02T19:19:56Z","updated_at":"2016-02-10T19:09:26Z","pushed_at":"2016-02-25T18:31:25Z","git_url":"git://github.com/NSLS-II/PyXRF.git","ssh_url":"git@github.com:NSLS-II/PyXRF.git","clone_url":"https://github.com/NSLS-II/PyXRF.git","svn_url":"https://github.com/NSLS-II/PyXRF","homepage":null,"size":1566,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":8,"forks":4,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NSLS-II/PyXRF/pulls/68"},"html":{"href":"https://github.com/NSLS-II/PyXRF/pull/68"},"issue":{"href":"https://api.github.com/repos/NSLS-II/PyXRF/issues/68"},"comments":{"href":"https://api.github.com/repos/NSLS-II/PyXRF/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/NSLS-II/PyXRF/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/NSLS-II/PyXRF/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NSLS-II/PyXRF/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/NSLS-II/PyXRF/statuses/bede20e07b3b3b0478c65f2f1bd21785770fb31d"}}}}