{"action":"opened","number":165,"pull_request":{"url":"https://api.github.com/repos/choderalab/pymbar/pulls/165","id":27639294,"html_url":"https://github.com/choderalab/pymbar/pull/165","diff_url":"https://github.com/choderalab/pymbar/pull/165.diff","patch_url":"https://github.com/choderalab/pymbar/pull/165.patch","issue_url":"https://api.github.com/repos/choderalab/pymbar/issues/165","number":165,"state":"open","locked":false,"title":"Avoid setting the global PRNG state","user":{"login":"rmcgibbo","id":641278,"avatar_url":"https://avatars.githubusercontent.com/u/641278?v=3","gravatar_id":"","url":"https://api.github.com/users/rmcgibbo","html_url":"https://github.com/rmcgibbo","followers_url":"https://api.github.com/users/rmcgibbo/followers","following_url":"https://api.github.com/users/rmcgibbo/following{/other_user}","gists_url":"https://api.github.com/users/rmcgibbo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmcgibbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmcgibbo/subscriptions","organizations_url":"https://api.github.com/users/rmcgibbo/orgs","repos_url":"https://api.github.com/users/rmcgibbo/repos","events_url":"https://api.github.com/users/rmcgibbo/events{/privacy}","received_events_url":"https://api.github.com/users/rmcgibbo/received_events","type":"User","site_admin":false},"body":"Just noticed this while browsing the code. Better to use `RandomState` than rely on the mutable global state in the default numpy PRNG in library code.","created_at":"2015-01-19T22:10:02Z","updated_at":"2015-01-19T22:10:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c99c2fa9a5e767e4e8a5454ec46d5dfe52711327","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/choderalab/pymbar/pulls/165/commits","review_comments_url":"https://api.github.com/repos/choderalab/pymbar/pulls/165/comments","review_comment_url":"https://api.github.com/repos/choderalab/pymbar/pulls/comments/{number}","comments_url":"https://api.github.com/repos/choderalab/pymbar/issues/165/comments","statuses_url":"https://api.github.com/repos/choderalab/pymbar/statuses/65494436a5e9f48a00c7888a81f5f044ce37c04f","head":{"label":"rmcgibbo:rng","ref":"rng","sha":"65494436a5e9f48a00c7888a81f5f044ce37c04f","user":{"login":"rmcgibbo","id":641278,"avatar_url":"https://avatars.githubusercontent.com/u/641278?v=3","gravatar_id":"","url":"https://api.github.com/users/rmcgibbo","html_url":"https://github.com/rmcgibbo","followers_url":"https://api.github.com/users/rmcgibbo/followers","following_url":"https://api.github.com/users/rmcgibbo/following{/other_user}","gists_url":"https://api.github.com/users/rmcgibbo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmcgibbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmcgibbo/subscriptions","organizations_url":"https://api.github.com/users/rmcgibbo/orgs","repos_url":"https://api.github.com/users/rmcgibbo/repos","events_url":"https://api.github.com/users/rmcgibbo/events{/privacy}","received_events_url":"https://api.github.com/users/rmcgibbo/received_events","type":"User","site_admin":false},"repo":{"id":22775651,"name":"pymbar","full_name":"rmcgibbo/pymbar","owner":{"login":"rmcgibbo","id":641278,"avatar_url":"https://avatars.githubusercontent.com/u/641278?v=3","gravatar_id":"","url":"https://api.github.com/users/rmcgibbo","html_url":"https://github.com/rmcgibbo","followers_url":"https://api.github.com/users/rmcgibbo/followers","following_url":"https://api.github.com/users/rmcgibbo/following{/other_user}","gists_url":"https://api.github.com/users/rmcgibbo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmcgibbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmcgibbo/subscriptions","organizations_url":"https://api.github.com/users/rmcgibbo/orgs","repos_url":"https://api.github.com/users/rmcgibbo/repos","events_url":"https://api.github.com/users/rmcgibbo/events{/privacy}","received_events_url":"https://api.github.com/users/rmcgibbo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rmcgibbo/pymbar","description":"Python implementation of the multistate Bennett acceptance ratio (MBAR)","fork":true,"url":"https://api.github.com/repos/rmcgibbo/pymbar","forks_url":"https://api.github.com/repos/rmcgibbo/pymbar/forks","keys_url":"https://api.github.com/repos/rmcgibbo/pymbar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rmcgibbo/pymbar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rmcgibbo/pymbar/teams","hooks_url":"https://api.github.com/repos/rmcgibbo/pymbar/hooks","issue_events_url":"https://api.github.com/repos/rmcgibbo/pymbar/issues/events{/number}","events_url":"https://api.github.com/repos/rmcgibbo/pymbar/events","assignees_url":"https://api.github.com/repos/rmcgibbo/pymbar/assignees{/user}","branches_url":"https://api.github.com/repos/rmcgibbo/pymbar/branches{/branch}","tags_url":"https://api.github.com/repos/rmcgibbo/pymbar/tags","blobs_url":"https://api.github.com/repos/rmcgibbo/pymbar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rmcgibbo/pymbar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rmcgibbo/pymbar/git/refs{/sha}","trees_url":"https://api.github.com/repos/rmcgibbo/pymbar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rmcgibbo/pymbar/statuses/{sha}","languages_url":"https://api.github.com/repos/rmcgibbo/pymbar/languages","stargazers_url":"https://api.github.com/repos/rmcgibbo/pymbar/stargazers","contributors_url":"https://api.github.com/repos/rmcgibbo/pymbar/contributors","subscribers_url":"https://api.github.com/repos/rmcgibbo/pymbar/subscribers","subscription_url":"https://api.github.com/repos/rmcgibbo/pymbar/subscription","commits_url":"https://api.github.com/repos/rmcgibbo/pymbar/commits{/sha}","git_commits_url":"https://api.github.com/repos/rmcgibbo/pymbar/git/commits{/sha}","comments_url":"https://api.github.com/repos/rmcgibbo/pymbar/comments{/number}","issue_comment_url":"https://api.github.com/repos/rmcgibbo/pymbar/issues/comments/{number}","contents_url":"https://api.github.com/repos/rmcgibbo/pymbar/contents/{+path}","compare_url":"https://api.github.com/repos/rmcgibbo/pymbar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rmcgibbo/pymbar/merges","archive_url":"https://api.github.com/repos/rmcgibbo/pymbar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rmcgibbo/pymbar/downloads","issues_url":"https://api.github.com/repos/rmcgibbo/pymbar/issues{/number}","pulls_url":"https://api.github.com/repos/rmcgibbo/pymbar/pulls{/number}","milestones_url":"https://api.github.com/repos/rmcgibbo/pymbar/milestones{/number}","notifications_url":"https://api.github.com/repos/rmcgibbo/pymbar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rmcgibbo/pymbar/labels{/name}","releases_url":"https://api.github.com/repos/rmcgibbo/pymbar/releases{/id}","created_at":"2014-08-09T00:53:10Z","updated_at":"2015-01-15T22:36:54Z","pushed_at":"2015-01-19T22:08:54Z","git_url":"git://github.com/rmcgibbo/pymbar.git","ssh_url":"git@github.com:rmcgibbo/pymbar.git","clone_url":"https://github.com/rmcgibbo/pymbar.git","svn_url":"https://github.com/rmcgibbo/pymbar","homepage":null,"size":2359,"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":"choderalab:master","ref":"master","sha":"f401e448d668638afa6c2dbf40e3b4693bd5d8a3","user":{"login":"choderalab","id":4217481,"avatar_url":"https://avatars.githubusercontent.com/u/4217481?v=3","gravatar_id":"","url":"https://api.github.com/users/choderalab","html_url":"https://github.com/choderalab","followers_url":"https://api.github.com/users/choderalab/followers","following_url":"https://api.github.com/users/choderalab/following{/other_user}","gists_url":"https://api.github.com/users/choderalab/gists{/gist_id}","starred_url":"https://api.github.com/users/choderalab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choderalab/subscriptions","organizations_url":"https://api.github.com/users/choderalab/orgs","repos_url":"https://api.github.com/users/choderalab/repos","events_url":"https://api.github.com/users/choderalab/events{/privacy}","received_events_url":"https://api.github.com/users/choderalab/received_events","type":"Organization","site_admin":false},"repo":{"id":9991771,"name":"pymbar","full_name":"choderalab/pymbar","owner":{"login":"choderalab","id":4217481,"avatar_url":"https://avatars.githubusercontent.com/u/4217481?v=3","gravatar_id":"","url":"https://api.github.com/users/choderalab","html_url":"https://github.com/choderalab","followers_url":"https://api.github.com/users/choderalab/followers","following_url":"https://api.github.com/users/choderalab/following{/other_user}","gists_url":"https://api.github.com/users/choderalab/gists{/gist_id}","starred_url":"https://api.github.com/users/choderalab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choderalab/subscriptions","organizations_url":"https://api.github.com/users/choderalab/orgs","repos_url":"https://api.github.com/users/choderalab/repos","events_url":"https://api.github.com/users/choderalab/events{/privacy}","received_events_url":"https://api.github.com/users/choderalab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/choderalab/pymbar","description":"Python implementation of the multistate Bennett acceptance ratio (MBAR)","fork":false,"url":"https://api.github.com/repos/choderalab/pymbar","forks_url":"https://api.github.com/repos/choderalab/pymbar/forks","keys_url":"https://api.github.com/repos/choderalab/pymbar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/choderalab/pymbar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/choderalab/pymbar/teams","hooks_url":"https://api.github.com/repos/choderalab/pymbar/hooks","issue_events_url":"https://api.github.com/repos/choderalab/pymbar/issues/events{/number}","events_url":"https://api.github.com/repos/choderalab/pymbar/events","assignees_url":"https://api.github.com/repos/choderalab/pymbar/assignees{/user}","branches_url":"https://api.github.com/repos/choderalab/pymbar/branches{/branch}","tags_url":"https://api.github.com/repos/choderalab/pymbar/tags","blobs_url":"https://api.github.com/repos/choderalab/pymbar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/choderalab/pymbar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/choderalab/pymbar/git/refs{/sha}","trees_url":"https://api.github.com/repos/choderalab/pymbar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/choderalab/pymbar/statuses/{sha}","languages_url":"https://api.github.com/repos/choderalab/pymbar/languages","stargazers_url":"https://api.github.com/repos/choderalab/pymbar/stargazers","contributors_url":"https://api.github.com/repos/choderalab/pymbar/contributors","subscribers_url":"https://api.github.com/repos/choderalab/pymbar/subscribers","subscription_url":"https://api.github.com/repos/choderalab/pymbar/subscription","commits_url":"https://api.github.com/repos/choderalab/pymbar/commits{/sha}","git_commits_url":"https://api.github.com/repos/choderalab/pymbar/git/commits{/sha}","comments_url":"https://api.github.com/repos/choderalab/pymbar/comments{/number}","issue_comment_url":"https://api.github.com/repos/choderalab/pymbar/issues/comments/{number}","contents_url":"https://api.github.com/repos/choderalab/pymbar/contents/{+path}","compare_url":"https://api.github.com/repos/choderalab/pymbar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/choderalab/pymbar/merges","archive_url":"https://api.github.com/repos/choderalab/pymbar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/choderalab/pymbar/downloads","issues_url":"https://api.github.com/repos/choderalab/pymbar/issues{/number}","pulls_url":"https://api.github.com/repos/choderalab/pymbar/pulls{/number}","milestones_url":"https://api.github.com/repos/choderalab/pymbar/milestones{/number}","notifications_url":"https://api.github.com/repos/choderalab/pymbar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/choderalab/pymbar/labels{/name}","releases_url":"https://api.github.com/repos/choderalab/pymbar/releases{/id}","created_at":"2013-05-10T22:45:44Z","updated_at":"2015-01-19T21:45:42Z","pushed_at":"2015-01-19T21:45:41Z","git_url":"git://github.com/choderalab/pymbar.git","ssh_url":"git@github.com:choderalab/pymbar.git","clone_url":"https://github.com/choderalab/pymbar.git","svn_url":"https://github.com/choderalab/pymbar","homepage":null,"size":50427,"stargazers_count":14,"watchers_count":14,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":20,"forks":12,"open_issues":20,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/choderalab/pymbar/pulls/165"},"html":{"href":"https://github.com/choderalab/pymbar/pull/165"},"issue":{"href":"https://api.github.com/repos/choderalab/pymbar/issues/165"},"comments":{"href":"https://api.github.com/repos/choderalab/pymbar/issues/165/comments"},"review_comments":{"href":"https://api.github.com/repos/choderalab/pymbar/pulls/165/comments"},"review_comment":{"href":"https://api.github.com/repos/choderalab/pymbar/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/choderalab/pymbar/pulls/165/commits"},"statuses":{"href":"https://api.github.com/repos/choderalab/pymbar/statuses/65494436a5e9f48a00c7888a81f5f044ce37c04f"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":12,"changed_files":2}}