{"action":"created","issue":{"url":"https://api.github.com/repos/ORNL-Fusion/ips-atom/issues/17","labels_url":"https://api.github.com/repos/ORNL-Fusion/ips-atom/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/ORNL-Fusion/ips-atom/issues/17/comments","events_url":"https://api.github.com/repos/ORNL-Fusion/ips-atom/issues/17/events","html_url":"https://github.com/ORNL-Fusion/ips-atom/issues/17","id":75398789,"number":17,"title":"Porting to SF","user":{"login":"parkjm","id":3586302,"avatar_url":"https://avatars.githubusercontent.com/u/3586302?v=3","gravatar_id":"","url":"https://api.github.com/users/parkjm","html_url":"https://github.com/parkjm","followers_url":"https://api.github.com/users/parkjm/followers","following_url":"https://api.github.com/users/parkjm/following{/other_user}","gists_url":"https://api.github.com/users/parkjm/gists{/gist_id}","starred_url":"https://api.github.com/users/parkjm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parkjm/subscriptions","organizations_url":"https://api.github.com/users/parkjm/orgs","repos_url":"https://api.github.com/users/parkjm/repos","events_url":"https://api.github.com/users/parkjm/events{/privacy}","received_events_url":"https://api.github.com/users/parkjm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ORNL-Fusion/ips-atom/labels/Feature%20Request","name":"Feature Request","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-11T23:55:03Z","updated_at":"2015-05-13T15:34:43Z","closed_at":null,"body":"Todo list to use SF version for previous workflows operated in SWIM version\r\n\r\n- [ ] relax hard-coded name of \"update_state\" and its location "},"comment":{"url":"https://api.github.com/repos/ORNL-Fusion/ips-atom/issues/comments/101717352","html_url":"https://github.com/ORNL-Fusion/ips-atom/issues/17#issuecomment-101717352","issue_url":"https://api.github.com/repos/ORNL-Fusion/ips-atom/issues/17","id":101717352,"user":{"login":"parkjm","id":3586302,"avatar_url":"https://avatars.githubusercontent.com/u/3586302?v=3","gravatar_id":"","url":"https://api.github.com/users/parkjm","html_url":"https://github.com/parkjm","followers_url":"https://api.github.com/users/parkjm/followers","following_url":"https://api.github.com/users/parkjm/following{/other_user}","gists_url":"https://api.github.com/users/parkjm/gists{/gist_id}","starred_url":"https://api.github.com/users/parkjm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parkjm/subscriptions","organizations_url":"https://api.github.com/users/parkjm/orgs","repos_url":"https://api.github.com/users/parkjm/repos","events_url":"https://api.github.com/users/parkjm/events{/privacy}","received_events_url":"https://api.github.com/users/parkjm/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T15:34:43Z","updated_at":"2015-05-13T15:34:43Z","body":"@elwasif \r\n\r\n``` This was meant for the case when you have two components, executing concurrently, making changes to separate parts of the PS file. The idea was that we want to merge their outputs into the common plasma state without overwriting the contribution from the other component```\r\n\r\nThis is exactly what I want to have, for ips-eped, ips-solps, ips-c2, etc. \r\n\r\nYes, \"update_state\" should not be envisioned to be component specific. But right now, it is component specific that works only for tsc, fastran, nubeam, ...  based on Princeton plasma state file.\r\n\r\nI thought that a simple resolution might be replacing\r\n```\r\nupdate_state = os.path.join(fwk_bin_path, 'update_state')\r\n```\r\nby\r\n```\r\nupdate_state = conf[\"UPDATE_STATE\"]\r\n```\r\n\r\nThe idea is making merge_current_plasma_state() be generic as update_plasma_state() is. \r\n"}}