{"action":"opened","number":451,"pull_request":{"url":"https://api.github.com/repos/choderalab/openpathsampling/pulls/451","id":63747214,"html_url":"https://github.com/choderalab/openpathsampling/pull/451","diff_url":"https://github.com/choderalab/openpathsampling/pull/451.diff","patch_url":"https://github.com/choderalab/openpathsampling/pull/451.patch","issue_url":"https://api.github.com/repos/choderalab/openpathsampling/issues/451","number":451,"state":"open","locked":false,"title":"More cleanup of Single Trajectory Analysis","user":{"login":"dwhswenson","id":8178546,"avatar_url":"https://avatars.githubusercontent.com/u/8178546?v=3","gravatar_id":"","url":"https://api.github.com/users/dwhswenson","html_url":"https://github.com/dwhswenson","followers_url":"https://api.github.com/users/dwhswenson/followers","following_url":"https://api.github.com/users/dwhswenson/following{/other_user}","gists_url":"https://api.github.com/users/dwhswenson/gists{/gist_id}","starred_url":"https://api.github.com/users/dwhswenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwhswenson/subscriptions","organizations_url":"https://api.github.com/users/dwhswenson/orgs","repos_url":"https://api.github.com/users/dwhswenson/repos","events_url":"https://api.github.com/users/dwhswenson/events{/privacy}","received_events_url":"https://api.github.com/users/dwhswenson/received_events","type":"User","site_admin":false},"body":"Just a few more things to make `SingleTrajectoryAnalysis` easier to use in practice.\r\n\r\n- [x] Create results object which has a few useful extra routines. Currently, we have a bunch of functions that variously return lists of trajectory segments, the lengths of those segments, or the time duration of those segments. All of this gets grouped into one class, although the old versions still work (they just call the specific class)\r\n- [x] Switch from directly storing instance variables to returning the results (except for the `analyze` function, which runs everything). This makes it easier to use this stuff in interactive analysis.\r\n\r\nQuestion: Renaming? Neither of the names of classes in `single_trajectory_analysis.py` are very good (`SingleTrajectoryAnalysis` and `TrajectorySegmentContainer`), but I don’t have any better names either. The functionality is definitely useful, though. ","created_at":"2016-03-22T16:12:13Z","updated_at":"2016-03-22T16:12:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/choderalab/openpathsampling/pulls/451/commits","review_comments_url":"https://api.github.com/repos/choderalab/openpathsampling/pulls/451/comments","review_comment_url":"https://api.github.com/repos/choderalab/openpathsampling/pulls/comments{/number}","comments_url":"https://api.github.com/repos/choderalab/openpathsampling/issues/451/comments","statuses_url":"https://api.github.com/repos/choderalab/openpathsampling/statuses/2dad2eecb1ef3fd17250a45760c5de039ec8e26b","head":{"label":"dwhswenson:single_traj_analysis","ref":"single_traj_analysis","sha":"2dad2eecb1ef3fd17250a45760c5de039ec8e26b","user":{"login":"dwhswenson","id":8178546,"avatar_url":"https://avatars.githubusercontent.com/u/8178546?v=3","gravatar_id":"","url":"https://api.github.com/users/dwhswenson","html_url":"https://github.com/dwhswenson","followers_url":"https://api.github.com/users/dwhswenson/followers","following_url":"https://api.github.com/users/dwhswenson/following{/other_user}","gists_url":"https://api.github.com/users/dwhswenson/gists{/gist_id}","starred_url":"https://api.github.com/users/dwhswenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwhswenson/subscriptions","organizations_url":"https://api.github.com/users/dwhswenson/orgs","repos_url":"https://api.github.com/users/dwhswenson/repos","events_url":"https://api.github.com/users/dwhswenson/events{/privacy}","received_events_url":"https://api.github.com/users/dwhswenson/received_events","type":"User","site_admin":false},"repo":{"id":23991437,"name":"openpathsampling","full_name":"dwhswenson/openpathsampling","owner":{"login":"dwhswenson","id":8178546,"avatar_url":"https://avatars.githubusercontent.com/u/8178546?v=3","gravatar_id":"","url":"https://api.github.com/users/dwhswenson","html_url":"https://github.com/dwhswenson","followers_url":"https://api.github.com/users/dwhswenson/followers","following_url":"https://api.github.com/users/dwhswenson/following{/other_user}","gists_url":"https://api.github.com/users/dwhswenson/gists{/gist_id}","starred_url":"https://api.github.com/users/dwhswenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwhswenson/subscriptions","organizations_url":"https://api.github.com/users/dwhswenson/orgs","repos_url":"https://api.github.com/users/dwhswenson/repos","events_url":"https://api.github.com/users/dwhswenson/events{/privacy}","received_events_url":"https://api.github.com/users/dwhswenson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dwhswenson/openpathsampling","description":"A flexible, open framework for path sampling calculations","fork":true,"url":"https://api.github.com/repos/dwhswenson/openpathsampling","forks_url":"https://api.github.com/repos/dwhswenson/openpathsampling/forks","keys_url":"https://api.github.com/repos/dwhswenson/openpathsampling/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dwhswenson/openpathsampling/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dwhswenson/openpathsampling/teams","hooks_url":"https://api.github.com/repos/dwhswenson/openpathsampling/hooks","issue_events_url":"https://api.github.com/repos/dwhswenson/openpathsampling/issues/events{/number}","events_url":"https://api.github.com/repos/dwhswenson/openpathsampling/events","assignees_url":"https://api.github.com/repos/dwhswenson/openpathsampling/assignees{/user}","branches_url":"https://api.github.com/repos/dwhswenson/openpathsampling/branches{/branch}","tags_url":"https://api.github.com/repos/dwhswenson/openpathsampling/tags","blobs_url":"https://api.github.com/repos/dwhswenson/openpathsampling/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dwhswenson/openpathsampling/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dwhswenson/openpathsampling/git/refs{/sha}","trees_url":"https://api.github.com/repos/dwhswenson/openpathsampling/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dwhswenson/openpathsampling/statuses/{sha}","languages_url":"https://api.github.com/repos/dwhswenson/openpathsampling/languages","stargazers_url":"https://api.github.com/repos/dwhswenson/openpathsampling/stargazers","contributors_url":"https://api.github.com/repos/dwhswenson/openpathsampling/contributors","subscribers_url":"https://api.github.com/repos/dwhswenson/openpathsampling/subscribers","subscription_url":"https://api.github.com/repos/dwhswenson/openpathsampling/subscription","commits_url":"https://api.github.com/repos/dwhswenson/openpathsampling/commits{/sha}","git_commits_url":"https://api.github.com/repos/dwhswenson/openpathsampling/git/commits{/sha}","comments_url":"https://api.github.com/repos/dwhswenson/openpathsampling/comments{/number}","issue_comment_url":"https://api.github.com/repos/dwhswenson/openpathsampling/issues/comments{/number}","contents_url":"https://api.github.com/repos/dwhswenson/openpathsampling/contents/{+path}","compare_url":"https://api.github.com/repos/dwhswenson/openpathsampling/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dwhswenson/openpathsampling/merges","archive_url":"https://api.github.com/repos/dwhswenson/openpathsampling/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dwhswenson/openpathsampling/downloads","issues_url":"https://api.github.com/repos/dwhswenson/openpathsampling/issues{/number}","pulls_url":"https://api.github.com/repos/dwhswenson/openpathsampling/pulls{/number}","milestones_url":"https://api.github.com/repos/dwhswenson/openpathsampling/milestones{/number}","notifications_url":"https://api.github.com/repos/dwhswenson/openpathsampling/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dwhswenson/openpathsampling/labels{/name}","releases_url":"https://api.github.com/repos/dwhswenson/openpathsampling/releases{/id}","deployments_url":"https://api.github.com/repos/dwhswenson/openpathsampling/deployments","created_at":"2014-09-13T10:15:43Z","updated_at":"2016-01-14T13:05:43Z","pushed_at":"2016-03-22T15:44:59Z","git_url":"git://github.com/dwhswenson/openpathsampling.git","ssh_url":"git@github.com:dwhswenson/openpathsampling.git","clone_url":"https://github.com/dwhswenson/openpathsampling.git","svn_url":"https://github.com/dwhswenson/openpathsampling","homepage":"","size":202988,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"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":"8aef8143b7de962c709c251b9633559461b92b81","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":12592267,"name":"openpathsampling","full_name":"choderalab/openpathsampling","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/openpathsampling","description":"An open source Python framework for transition interface and path sampling calculations.","fork":false,"url":"https://api.github.com/repos/choderalab/openpathsampling","forks_url":"https://api.github.com/repos/choderalab/openpathsampling/forks","keys_url":"https://api.github.com/repos/choderalab/openpathsampling/keys{/key_id}","collaborators_url":"https://api.github.com/repos/choderalab/openpathsampling/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/choderalab/openpathsampling/teams","hooks_url":"https://api.github.com/repos/choderalab/openpathsampling/hooks","issue_events_url":"https://api.github.com/repos/choderalab/openpathsampling/issues/events{/number}","events_url":"https://api.github.com/repos/choderalab/openpathsampling/events","assignees_url":"https://api.github.com/repos/choderalab/openpathsampling/assignees{/user}","branches_url":"https://api.github.com/repos/choderalab/openpathsampling/branches{/branch}","tags_url":"https://api.github.com/repos/choderalab/openpathsampling/tags","blobs_url":"https://api.github.com/repos/choderalab/openpathsampling/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/choderalab/openpathsampling/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/choderalab/openpathsampling/git/refs{/sha}","trees_url":"https://api.github.com/repos/choderalab/openpathsampling/git/trees{/sha}","statuses_url":"https://api.github.com/repos/choderalab/openpathsampling/statuses/{sha}","languages_url":"https://api.github.com/repos/choderalab/openpathsampling/languages","stargazers_url":"https://api.github.com/repos/choderalab/openpathsampling/stargazers","contributors_url":"https://api.github.com/repos/choderalab/openpathsampling/contributors","subscribers_url":"https://api.github.com/repos/choderalab/openpathsampling/subscribers","subscription_url":"https://api.github.com/repos/choderalab/openpathsampling/subscription","commits_url":"https://api.github.com/repos/choderalab/openpathsampling/commits{/sha}","git_commits_url":"https://api.github.com/repos/choderalab/openpathsampling/git/commits{/sha}","comments_url":"https://api.github.com/repos/choderalab/openpathsampling/comments{/number}","issue_comment_url":"https://api.github.com/repos/choderalab/openpathsampling/issues/comments{/number}","contents_url":"https://api.github.com/repos/choderalab/openpathsampling/contents/{+path}","compare_url":"https://api.github.com/repos/choderalab/openpathsampling/compare/{base}...{head}","merges_url":"https://api.github.com/repos/choderalab/openpathsampling/merges","archive_url":"https://api.github.com/repos/choderalab/openpathsampling/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/choderalab/openpathsampling/downloads","issues_url":"https://api.github.com/repos/choderalab/openpathsampling/issues{/number}","pulls_url":"https://api.github.com/repos/choderalab/openpathsampling/pulls{/number}","milestones_url":"https://api.github.com/repos/choderalab/openpathsampling/milestones{/number}","notifications_url":"https://api.github.com/repos/choderalab/openpathsampling/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/choderalab/openpathsampling/labels{/name}","releases_url":"https://api.github.com/repos/choderalab/openpathsampling/releases{/id}","deployments_url":"https://api.github.com/repos/choderalab/openpathsampling/deployments","created_at":"2013-09-04T14:06:28Z","updated_at":"2016-03-16T23:22:55Z","pushed_at":"2016-03-22T15:13:30Z","git_url":"git://github.com/choderalab/openpathsampling.git","ssh_url":"git@github.com:choderalab/openpathsampling.git","clone_url":"https://github.com/choderalab/openpathsampling.git","svn_url":"https://github.com/choderalab/openpathsampling","homepage":"","size":214679,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":65,"forks":8,"open_issues":65,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/choderalab/openpathsampling/pulls/451"},"html":{"href":"https://github.com/choderalab/openpathsampling/pull/451"},"issue":{"href":"https://api.github.com/repos/choderalab/openpathsampling/issues/451"},"comments":{"href":"https://api.github.com/repos/choderalab/openpathsampling/issues/451/comments"},"review_comments":{"href":"https://api.github.com/repos/choderalab/openpathsampling/pulls/451/comments"},"review_comment":{"href":"https://api.github.com/repos/choderalab/openpathsampling/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/choderalab/openpathsampling/pulls/451/commits"},"statuses":{"href":"https://api.github.com/repos/choderalab/openpathsampling/statuses/2dad2eecb1ef3fd17250a45760c5de039ec8e26b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":7,"additions":218,"deletions":97,"changed_files":3}}