{"action":"created","issue":{"url":"https://api.github.com/repos/radiasoft/sirepo/issues/277","repository_url":"https://api.github.com/repos/radiasoft/sirepo","labels_url":"https://api.github.com/repos/radiasoft/sirepo/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/radiasoft/sirepo/issues/277/comments","events_url":"https://api.github.com/repos/radiasoft/sirepo/issues/277/events","html_url":"https://github.com/radiasoft/sirepo/issues/277","id":170467255,"number":277,"title":"Separate simulation data (models) from operational state","user":{"login":"robnagler","id":5495179,"avatar_url":"https://avatars.githubusercontent.com/u/5495179?v=3","gravatar_id":"","url":"https://api.github.com/users/robnagler","html_url":"https://github.com/robnagler","followers_url":"https://api.github.com/users/robnagler/followers","following_url":"https://api.github.com/users/robnagler/following{/other_user}","gists_url":"https://api.github.com/users/robnagler/gists{/gist_id}","starred_url":"https://api.github.com/users/robnagler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robnagler/subscriptions","organizations_url":"https://api.github.com/users/robnagler/orgs","repos_url":"https://api.github.com/users/robnagler/repos","events_url":"https://api.github.com/users/robnagler/events{/privacy}","received_events_url":"https://api.github.com/users/robnagler/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/radiasoft/sirepo/labels/1st%20Priority","name":"1st Priority","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"robnagler","id":5495179,"avatar_url":"https://avatars.githubusercontent.com/u/5495179?v=3","gravatar_id":"","url":"https://api.github.com/users/robnagler","html_url":"https://github.com/robnagler","followers_url":"https://api.github.com/users/robnagler/followers","following_url":"https://api.github.com/users/robnagler/following{/other_user}","gists_url":"https://api.github.com/users/robnagler/gists{/gist_id}","starred_url":"https://api.github.com/users/robnagler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robnagler/subscriptions","organizations_url":"https://api.github.com/users/robnagler/orgs","repos_url":"https://api.github.com/users/robnagler/repos","events_url":"https://api.github.com/users/robnagler/events{/privacy}","received_events_url":"https://api.github.com/users/robnagler/received_events","type":"User","site_admin":false},"assignees":[{"login":"robnagler","id":5495179,"avatar_url":"https://avatars.githubusercontent.com/u/5495179?v=3","gravatar_id":"","url":"https://api.github.com/users/robnagler","html_url":"https://github.com/robnagler","followers_url":"https://api.github.com/users/robnagler/followers","following_url":"https://api.github.com/users/robnagler/following{/other_user}","gists_url":"https://api.github.com/users/robnagler/gists{/gist_id}","starred_url":"https://api.github.com/users/robnagler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robnagler/subscriptions","organizations_url":"https://api.github.com/users/robnagler/orgs","repos_url":"https://api.github.com/users/robnagler/repos","events_url":"https://api.github.com/users/robnagler/events{/privacy}","received_events_url":"https://api.github.com/users/robnagler/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-08-10T16:59:57Z","updated_at":"2016-08-11T19:58:33Z","closed_at":null,"body":"Currently models hold both operational data (e.g. simulationStatus) and models (e.g. watchpointReport). This causes confusion about what is required to be saved in the simulation db. This should be models and a few other fields. Operational data shouldn't be saved with a simulation. It might be saved in a run directory's data for a particular report execution. \r\n\r\nWhile we talked about this on our call, I think we should mark operational data separately and delete before it is saved to the main db. I'll look at modularizing this."},"comment":{"url":"https://api.github.com/repos/radiasoft/sirepo/issues/comments/239273596","html_url":"https://github.com/radiasoft/sirepo/issues/277#issuecomment-239273596","issue_url":"https://api.github.com/repos/radiasoft/sirepo/issues/277","id":239273596,"user":{"login":"robnagler","id":5495179,"avatar_url":"https://avatars.githubusercontent.com/u/5495179?v=3","gravatar_id":"","url":"https://api.github.com/users/robnagler","html_url":"https://github.com/robnagler","followers_url":"https://api.github.com/users/robnagler/followers","following_url":"https://api.github.com/users/robnagler/following{/other_user}","gists_url":"https://api.github.com/users/robnagler/gists{/gist_id}","starred_url":"https://api.github.com/users/robnagler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robnagler/subscriptions","organizations_url":"https://api.github.com/users/robnagler/orgs","repos_url":"https://api.github.com/users/robnagler/repos","events_url":"https://api.github.com/users/robnagler/events{/privacy}","received_events_url":"https://api.github.com/users/robnagler/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T19:58:33Z","updated_at":"2016-08-11T19:58:33Z","body":"@moellep writes:\r\n\r\n> I looked and the panelState data is also in \"models\", along with simulationStatus. There isn't currently a place for these. panelState is basically a form of UI preferences. simulationStatus is the status of any background tasks. In elegant there will be a set of data called rpnCache which is currently in models, but should be moved out as well.\r\n"}}
{"actor":{"display_login":"robnagler"}}