{"action":"created","issue":{"url":"https://api.github.com/repos/openpathsampling/openpathsampling/issues/616","repository_url":"https://api.github.com/repos/openpathsampling/openpathsampling","labels_url":"https://api.github.com/repos/openpathsampling/openpathsampling/issues/616/labels{/name}","comments_url":"https://api.github.com/repos/openpathsampling/openpathsampling/issues/616/comments","events_url":"https://api.github.com/repos/openpathsampling/openpathsampling/issues/616/events","html_url":"https://github.com/openpathsampling/openpathsampling/pull/616","id":182015364,"number":616,"title":"Convenience functions for restarting from move scheme","user":{"login":"jhprinz","id":5091934,"avatar_url":"https://avatars.githubusercontent.com/u/5091934?v=3","gravatar_id":"","url":"https://api.github.com/users/jhprinz","html_url":"https://github.com/jhprinz","followers_url":"https://api.github.com/users/jhprinz/followers","following_url":"https://api.github.com/users/jhprinz/following{/other_user}","gists_url":"https://api.github.com/users/jhprinz/gists{/gist_id}","starred_url":"https://api.github.com/users/jhprinz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhprinz/subscriptions","organizations_url":"https://api.github.com/users/jhprinz/orgs","repos_url":"https://api.github.com/users/jhprinz/repos","events_url":"https://api.github.com/users/jhprinz/events{/privacy}","received_events_url":"https://api.github.com/users/jhprinz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"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},"assignees":[{"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}],"milestone":null,"comments":3,"created_at":"2016-10-10T13:31:12Z","updated_at":"2016-11-01T15:53:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openpathsampling/openpathsampling/pulls/616","html_url":"https://github.com/openpathsampling/openpathsampling/pull/616","diff_url":"https://github.com/openpathsampling/openpathsampling/pull/616.diff","patch_url":"https://github.com/openpathsampling/openpathsampling/pull/616.patch"},"body":"Resolves #611. \n\nAt least partially for now. We agreed that the PathSimulator is not really to be stored, but to be considered the main loop of the simulation and hence a users choice everytime you setup a simulation. It can still be saved, but it does not contain the current status. \n\nSo, if you want to restart you need to select the initial step to continue from. This implements a few conveniences to do that simpler, while being compatible with the existing code.\n- [x] implement `.restart_at_step(step, storage=None)` for loaded simulators\n- [x] implement class method `from_step(step, storage, initialize=True)` to create a new PathSampling object from a existing `step`. Initialize, if true, will reset the samples and add a new initial step that is detached from the given step.\n- [x] add `initialize=True` to `__init__` with same functionality\n- [x] save initial step on creation with storage, otherwise there is a `.save_initial_step` function. \n"},"comment":{"url":"https://api.github.com/repos/openpathsampling/openpathsampling/issues/comments/257604527","html_url":"https://github.com/openpathsampling/openpathsampling/pull/616#issuecomment-257604527","issue_url":"https://api.github.com/repos/openpathsampling/openpathsampling/issues/616","id":257604527,"user":{"login":"jhprinz","id":5091934,"avatar_url":"https://avatars.githubusercontent.com/u/5091934?v=3","gravatar_id":"","url":"https://api.github.com/users/jhprinz","html_url":"https://github.com/jhprinz","followers_url":"https://api.github.com/users/jhprinz/followers","following_url":"https://api.github.com/users/jhprinz/following{/other_user}","gists_url":"https://api.github.com/users/jhprinz/gists{/gist_id}","starred_url":"https://api.github.com/users/jhprinz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhprinz/subscriptions","organizations_url":"https://api.github.com/users/jhprinz/orgs","repos_url":"https://api.github.com/users/jhprinz/repos","events_url":"https://api.github.com/users/jhprinz/events{/privacy}","received_events_url":"https://api.github.com/users/jhprinz/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T15:53:25Z","updated_at":"2016-11-01T15:53:25Z","body":"@dwhswenson Yes, fixed it. Hope it works now..."}}
{"actor":{"display_login":"jhprinz"}}