{"action":"created","issue":{"url":"https://api.github.com/repos/galaxyproject/bioblend/issues/203","repository_url":"https://api.github.com/repos/galaxyproject/bioblend","labels_url":"https://api.github.com/repos/galaxyproject/bioblend/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/galaxyproject/bioblend/issues/203/comments","events_url":"https://api.github.com/repos/galaxyproject/bioblend/issues/203/events","html_url":"https://github.com/galaxyproject/bioblend/issues/203","id":190752599,"number":203,"title":"AttributeError while instantiating WorkflowClient","user":{"login":"jibe-b","id":6146483,"avatar_url":"https://avatars.githubusercontent.com/u/6146483?v=3","gravatar_id":"","url":"https://api.github.com/users/jibe-b","html_url":"https://github.com/jibe-b","followers_url":"https://api.github.com/users/jibe-b/followers","following_url":"https://api.github.com/users/jibe-b/following{/other_user}","gists_url":"https://api.github.com/users/jibe-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jibe-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jibe-b/subscriptions","organizations_url":"https://api.github.com/users/jibe-b/orgs","repos_url":"https://api.github.com/users/jibe-b/repos","events_url":"https://api.github.com/users/jibe-b/events{/privacy}","received_events_url":"https://api.github.com/users/jibe-b/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-21T15:40:19Z","updated_at":"2016-11-28T12:33:29Z","closed_at":"2016-11-23T18:49:32Z","body":"I try to instantiate a [bioblend.galaxy.workflows.WorkflowClient](https://bioblend.readthedocs.io/en/latest/api_docs/galaxy/all.html#bioblend.galaxy.workflows.WorkflowClient)\r\n\r\nFirst step is to instantiate a Galaxy instance\r\n\r\n>gi = GalaxyInstance(galaxy_url, api_key)\r\n\r\nThen a WorkflowClient:\r\n\r\n>wo = WorkflowClient(gi)\r\n>**AttributeError: 'GalaxyInstance' object has no attribute 'url'**\r\n\r\nI tried to solve this issue by adding the attribute to the object:\r\n\r\n>gi.url = galaxy_url\r\n>wo = WorkflowClient(gi)\r\n\r\nBut when calling a method such as:\r\n\r\n> wo.import_workflow_from_local_path('/path/to/file')\r\n\r\n> **AttributeError: 'GalaxyInstance' object has no attribute '_make_url'**\r\n\r\nThe problem may be due to the GalaxyInstance that is passed as parameter of WorkflowClient.\r\n"},"comment":{"url":"https://api.github.com/repos/galaxyproject/bioblend/issues/comments/263260177","html_url":"https://github.com/galaxyproject/bioblend/issues/203#issuecomment-263260177","issue_url":"https://api.github.com/repos/galaxyproject/bioblend/issues/203","id":263260177,"user":{"login":"nsoranzo","id":4924623,"avatar_url":"https://avatars.githubusercontent.com/u/4924623?v=3","gravatar_id":"","url":"https://api.github.com/users/nsoranzo","html_url":"https://github.com/nsoranzo","followers_url":"https://api.github.com/users/nsoranzo/followers","following_url":"https://api.github.com/users/nsoranzo/following{/other_user}","gists_url":"https://api.github.com/users/nsoranzo/gists{/gist_id}","starred_url":"https://api.github.com/users/nsoranzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsoranzo/subscriptions","organizations_url":"https://api.github.com/users/nsoranzo/orgs","repos_url":"https://api.github.com/users/nsoranzo/repos","events_url":"https://api.github.com/users/nsoranzo/events{/privacy}","received_events_url":"https://api.github.com/users/nsoranzo/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T12:33:29Z","updated_at":"2016-11-28T12:33:29Z","body":"Thanks @jibe-b for the follow-up!"}}
{"actor":{"display_login":"nsoranzo"}}