{"action":"opened","issue":{"url":"https://api.github.com/repos/sherpa/sherpa/issues/502","repository_url":"https://api.github.com/repos/sherpa/sherpa","labels_url":"https://api.github.com/repos/sherpa/sherpa/issues/502/labels{/name}","comments_url":"https://api.github.com/repos/sherpa/sherpa/issues/502/comments","events_url":"https://api.github.com/repos/sherpa/sherpa/issues/502/events","html_url":"https://github.com/sherpa/sherpa/issues/502","id":366462217,"node_id":"MDU6SXNzdWUzNjY0NjIyMTc=","number":502,"title":"sherpa.astro.ui erf confusion","user":{"login":"DougBurke","id":224638,"node_id":"MDQ6VXNlcjIyNDYzOA==","avatar_url":"https://avatars3.githubusercontent.com/u/224638?v=4","gravatar_id":"","url":"https://api.github.com/users/DougBurke","html_url":"https://github.com/DougBurke","followers_url":"https://api.github.com/users/DougBurke/followers","following_url":"https://api.github.com/users/DougBurke/following{/other_user}","gists_url":"https://api.github.com/users/DougBurke/gists{/gist_id}","starred_url":"https://api.github.com/users/DougBurke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DougBurke/subscriptions","organizations_url":"https://api.github.com/users/DougBurke/orgs","repos_url":"https://api.github.com/users/DougBurke/repos","events_url":"https://api.github.com/users/DougBurke/events{/privacy}","received_events_url":"https://api.github.com/users/DougBurke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-03T18:10:06Z","updated_at":"2018-10-03T18:10:06Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"With the current master branch\r\n\r\n```\r\n% python -c 'from sherpa.astro import ui; print(len(ui.__all__)); print(len(set(ui.__all__)))'\r\n695\r\n694\r\n```\r\n\r\nThis is because `erf` appears in it twice - once because it is imported from `sherpa.utils` and then it gets added because of the `sherpa.models.basic.Erf` model.\r\n\r\nI think we just remove the explicit import of `erf` from `sherpa.utils` here. I've checked and there is no reference to the `erf` symbol in `sherpa.astro.ui.utils` (which is what is used to populate `sherpa.astro.ui`), so it should be safe.\r\n\r\nI think this is a minor issue (almost cosmetic)."}}
{"actor":{"display_login":"DougBurke"}}