{"action":"created","issue":{"url":"https://api.github.com/repos/boutproject/BOUT-dev/issues/112","labels_url":"https://api.github.com/repos/boutproject/BOUT-dev/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/boutproject/BOUT-dev/issues/112/comments","events_url":"https://api.github.com/repos/boutproject/BOUT-dev/issues/112/events","html_url":"https://github.com/boutproject/BOUT-dev/pull/112","id":111838909,"number":112,"title":"Clean up init","user":{"login":"loeiten","id":7699917,"avatar_url":"https://avatars.githubusercontent.com/u/7699917?v=3","gravatar_id":"","url":"https://api.github.com/users/loeiten","html_url":"https://github.com/loeiten","followers_url":"https://api.github.com/users/loeiten/followers","following_url":"https://api.github.com/users/loeiten/following{/other_user}","gists_url":"https://api.github.com/users/loeiten/gists{/gist_id}","starred_url":"https://api.github.com/users/loeiten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loeiten/subscriptions","organizations_url":"https://api.github.com/users/loeiten/orgs","repos_url":"https://api.github.com/users/loeiten/repos","events_url":"https://api.github.com/users/loeiten/events{/privacy}","received_events_url":"https://api.github.com/users/loeiten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-16T14:05:27Z","updated_at":"2015-10-19T15:00:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/boutproject/BOUT-dev/pulls/112","html_url":"https://github.com/boutproject/BOUT-dev/pull/112","diff_url":"https://github.com/boutproject/BOUT-dev/pull/112.diff","patch_url":"https://github.com/boutproject/BOUT-dev/pull/112.patch"},"body":"Suggestion of new ```__init__.py```.\r\n\r\nCurrently these files loads all modules of the folders, even though only one module is requested. This can cause an annoying waiting time on certain clusters when running scripts.\r\n\r\nThis fixes #68"},"comment":{"url":"https://api.github.com/repos/boutproject/BOUT-dev/issues/comments/149240637","html_url":"https://github.com/boutproject/BOUT-dev/pull/112#issuecomment-149240637","issue_url":"https://api.github.com/repos/boutproject/BOUT-dev/issues/112","id":149240637,"user":{"login":"loeiten","id":7699917,"avatar_url":"https://avatars.githubusercontent.com/u/7699917?v=3","gravatar_id":"","url":"https://api.github.com/users/loeiten","html_url":"https://github.com/loeiten","followers_url":"https://api.github.com/users/loeiten/followers","following_url":"https://api.github.com/users/loeiten/following{/other_user}","gists_url":"https://api.github.com/users/loeiten/gists{/gist_id}","starred_url":"https://api.github.com/users/loeiten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loeiten/subscriptions","organizations_url":"https://api.github.com/users/loeiten/orgs","repos_url":"https://api.github.com/users/loeiten/repos","events_url":"https://api.github.com/users/loeiten/events{/privacy}","received_events_url":"https://api.github.com/users/loeiten/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T15:00:44Z","updated_at":"2015-10-19T15:00:44Z","body":"```shell```, ```launch``` and ```getmpirun``` has now been merged to ```run_wrapper.py```.\r\n\r\nIf we are to merge the plotting routines, I suggest to merge those which are using mayavi into one file (```anim```, ```polplotslice``` and ```View3D```) and those who works out of the box (```showdata``` and ```plotdata```) into another. This, however, will probably take some time as several of the current files are written in a way such that they use some globals and up to several functions.\r\n\r\nAlso, merging the files using ```bunch``` is not that straight forward. Usually, the bunch-objects are returned from functions, which makes it a bit time consuming to track down.\r\n\r\nThus, I suggest that (if that is what we would like):\r\n* The authors of the plotting routines rewrites them in such a way that they can be merged into one file (a good excuse to remove out-commented stuff).\r\n* The author of the files using ```bunch``` rewrites them in such a way that they can be used out of the box with standard python tools."}}