{"action":"created","comment":{"url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/pulls/comments/58509432","id":58509432,"diff_hunk":"@@ -45,10 +45,15 @@ def to_string(cls, inner=dict()):\n             arg = args[i+1]\n             if arg in cls.inner.keys():\n                 val = (inner[arg].__name__, inner[arg].to_string())\n+            elif type(defs[i]) is np.ndarray:\n+                val = str(list(defs[i]))\n             else:\n                 val = defs[i]\n             arg_dic[arg] = val\n-        return json.dumps(arg_dic, indent=4)\n+        string = json.dumps(arg_dic, indent=4, separators=(', ', ':\\n\\t'))","path":"quad_control/scripts/utilities/jsonable.py","position":22,"original_position":22,"commit_id":"3e2c5ae52fda18918257513be4c129213db48400","original_commit_id":"3e2c5ae52fda18918257513be4c129213db48400","user":{"login":"antonioadaldo","id":11715621,"avatar_url":"https://avatars.githubusercontent.com/u/11715621?v=3","gravatar_id":"","url":"https://api.github.com/users/antonioadaldo","html_url":"https://github.com/antonioadaldo","followers_url":"https://api.github.com/users/antonioadaldo/followers","following_url":"https://api.github.com/users/antonioadaldo/following{/other_user}","gists_url":"https://api.github.com/users/antonioadaldo/gists{/gist_id}","starred_url":"https://api.github.com/users/antonioadaldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonioadaldo/subscriptions","organizations_url":"https://api.github.com/users/antonioadaldo/orgs","repos_url":"https://api.github.com/users/antonioadaldo/repos","events_url":"https://api.github.com/users/antonioadaldo/events{/privacy}","received_events_url":"https://api.github.com/users/antonioadaldo/received_events","type":"User","site_admin":false},"body":"The separator between dictionary items is set as `:\\n\\t`, which is colon, new line and tab.","created_at":"2016-04-05T09:39:09Z","updated_at":"2016-04-05T09:39:09Z","html_url":"https://github.com/KTH-AEROWORKS/sml_under_development/pull/14#discussion_r58509432","pull_request_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/pulls/comments/58509432"},"html":{"href":"https://github.com/KTH-AEROWORKS/sml_under_development/pull/14#discussion_r58509432"},"pull_request":{"href":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/pulls/14","id":65156193,"html_url":"https://github.com/KTH-AEROWORKS/sml_under_development/pull/14","diff_url":"https://github.com/KTH-AEROWORKS/sml_under_development/pull/14.diff","patch_url":"https://github.com/KTH-AEROWORKS/sml_under_development/pull/14.patch","issue_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/issues/14","number":14,"state":"closed","locked":false,"title":"Bring `Jsonable.py` in the master","user":{"login":"antonioadaldo","id":11715621,"avatar_url":"https://avatars.githubusercontent.com/u/11715621?v=3","gravatar_id":"","url":"https://api.github.com/users/antonioadaldo","html_url":"https://github.com/antonioadaldo","followers_url":"https://api.github.com/users/antonioadaldo/followers","following_url":"https://api.github.com/users/antonioadaldo/following{/other_user}","gists_url":"https://api.github.com/users/antonioadaldo/gists{/gist_id}","starred_url":"https://api.github.com/users/antonioadaldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonioadaldo/subscriptions","organizations_url":"https://api.github.com/users/antonioadaldo/orgs","repos_url":"https://api.github.com/users/antonioadaldo/repos","events_url":"https://api.github.com/users/antonioadaldo/events{/privacy}","received_events_url":"https://api.github.com/users/antonioadaldo/received_events","type":"User","site_admin":false},"body":"This pull request features a lot of changes, but I guess that it depends on me having merged from `pedro_dic` first.\r\n\r\nMaybe you can merge `pedro_dic` into the master before examining this pull request, so that the amount of differences will be reduced.","created_at":"2016-04-04T14:41:09Z","updated_at":"2016-04-05T09:39:09Z","closed_at":"2016-04-05T09:17:39Z","merged_at":"2016-04-05T09:17:39Z","merge_commit_sha":"faf21fe1589a65c0360bfb2fc09856be7bb53f3d","assignee":{"login":"ppereiraKTH","id":13763424,"avatar_url":"https://avatars.githubusercontent.com/u/13763424?v=3","gravatar_id":"","url":"https://api.github.com/users/ppereiraKTH","html_url":"https://github.com/ppereiraKTH","followers_url":"https://api.github.com/users/ppereiraKTH/followers","following_url":"https://api.github.com/users/ppereiraKTH/following{/other_user}","gists_url":"https://api.github.com/users/ppereiraKTH/gists{/gist_id}","starred_url":"https://api.github.com/users/ppereiraKTH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppereiraKTH/subscriptions","organizations_url":"https://api.github.com/users/ppereiraKTH/orgs","repos_url":"https://api.github.com/users/ppereiraKTH/repos","events_url":"https://api.github.com/users/ppereiraKTH/events{/privacy}","received_events_url":"https://api.github.com/users/ppereiraKTH/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/pulls/14/commits","review_comments_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/pulls/14/comments","review_comment_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/issues/14/comments","statuses_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/statuses/3e2c5ae52fda18918257513be4c129213db48400","head":{"label":"KTH-AEROWORKS:antonio","ref":"antonio","sha":"3e2c5ae52fda18918257513be4c129213db48400","user":{"login":"KTH-AEROWORKS","id":16254031,"avatar_url":"https://avatars.githubusercontent.com/u/16254031?v=3","gravatar_id":"","url":"https://api.github.com/users/KTH-AEROWORKS","html_url":"https://github.com/KTH-AEROWORKS","followers_url":"https://api.github.com/users/KTH-AEROWORKS/followers","following_url":"https://api.github.com/users/KTH-AEROWORKS/following{/other_user}","gists_url":"https://api.github.com/users/KTH-AEROWORKS/gists{/gist_id}","starred_url":"https://api.github.com/users/KTH-AEROWORKS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KTH-AEROWORKS/subscriptions","organizations_url":"https://api.github.com/users/KTH-AEROWORKS/orgs","repos_url":"https://api.github.com/users/KTH-AEROWORKS/repos","events_url":"https://api.github.com/users/KTH-AEROWORKS/events{/privacy}","received_events_url":"https://api.github.com/users/KTH-AEROWORKS/received_events","type":"Organization","site_admin":false},"repo":{"id":54488368,"name":"sml_under_development","full_name":"KTH-AEROWORKS/sml_under_development","owner":{"login":"KTH-AEROWORKS","id":16254031,"avatar_url":"https://avatars.githubusercontent.com/u/16254031?v=3","gravatar_id":"","url":"https://api.github.com/users/KTH-AEROWORKS","html_url":"https://github.com/KTH-AEROWORKS","followers_url":"https://api.github.com/users/KTH-AEROWORKS/followers","following_url":"https://api.github.com/users/KTH-AEROWORKS/following{/other_user}","gists_url":"https://api.github.com/users/KTH-AEROWORKS/gists{/gist_id}","starred_url":"https://api.github.com/users/KTH-AEROWORKS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KTH-AEROWORKS/subscriptions","organizations_url":"https://api.github.com/users/KTH-AEROWORKS/orgs","repos_url":"https://api.github.com/users/KTH-AEROWORKS/repos","events_url":"https://api.github.com/users/KTH-AEROWORKS/events{/privacy}","received_events_url":"https://api.github.com/users/KTH-AEROWORKS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KTH-AEROWORKS/sml_under_development","description":"","fork":false,"url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development","forks_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/forks","keys_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/teams","hooks_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/hooks","issue_events_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/issues/events{/number}","events_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/events","assignees_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/assignees{/user}","branches_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/branches{/branch}","tags_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/tags","blobs_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/git/refs{/sha}","trees_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/statuses/{sha}","languages_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/languages","stargazers_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/stargazers","contributors_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/contributors","subscribers_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/subscribers","subscription_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/subscription","commits_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/commits{/sha}","git_commits_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/git/commits{/sha}","comments_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/comments{/number}","issue_comment_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/issues/comments{/number}","contents_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/contents/{+path}","compare_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/merges","archive_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/downloads","issues_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/issues{/number}","pulls_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/pulls{/number}","milestones_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/milestones{/number}","notifications_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/labels{/name}","releases_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/releases{/id}","deployments_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/deployments","created_at":"2016-03-22T15:52:31Z","updated_at":"2016-03-22T15:55:15Z","pushed_at":"2016-04-05T09:17:40Z","git_url":"git://github.com/KTH-AEROWORKS/sml_under_development.git","ssh_url":"git@github.com:KTH-AEROWORKS/sml_under_development.git","clone_url":"https://github.com/KTH-AEROWORKS/sml_under_development.git","svn_url":"https://github.com/KTH-AEROWORKS/sml_under_development","homepage":null,"size":19598,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"KTH-AEROWORKS:master","ref":"master","sha":"4c81ff5bcfb3949b86141948a0a6abe8f94f8478","user":{"login":"KTH-AEROWORKS","id":16254031,"avatar_url":"https://avatars.githubusercontent.com/u/16254031?v=3","gravatar_id":"","url":"https://api.github.com/users/KTH-AEROWORKS","html_url":"https://github.com/KTH-AEROWORKS","followers_url":"https://api.github.com/users/KTH-AEROWORKS/followers","following_url":"https://api.github.com/users/KTH-AEROWORKS/following{/other_user}","gists_url":"https://api.github.com/users/KTH-AEROWORKS/gists{/gist_id}","starred_url":"https://api.github.com/users/KTH-AEROWORKS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KTH-AEROWORKS/subscriptions","organizations_url":"https://api.github.com/users/KTH-AEROWORKS/orgs","repos_url":"https://api.github.com/users/KTH-AEROWORKS/repos","events_url":"https://api.github.com/users/KTH-AEROWORKS/events{/privacy}","received_events_url":"https://api.github.com/users/KTH-AEROWORKS/received_events","type":"Organization","site_admin":false},"repo":{"id":54488368,"name":"sml_under_development","full_name":"KTH-AEROWORKS/sml_under_development","owner":{"login":"KTH-AEROWORKS","id":16254031,"avatar_url":"https://avatars.githubusercontent.com/u/16254031?v=3","gravatar_id":"","url":"https://api.github.com/users/KTH-AEROWORKS","html_url":"https://github.com/KTH-AEROWORKS","followers_url":"https://api.github.com/users/KTH-AEROWORKS/followers","following_url":"https://api.github.com/users/KTH-AEROWORKS/following{/other_user}","gists_url":"https://api.github.com/users/KTH-AEROWORKS/gists{/gist_id}","starred_url":"https://api.github.com/users/KTH-AEROWORKS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KTH-AEROWORKS/subscriptions","organizations_url":"https://api.github.com/users/KTH-AEROWORKS/orgs","repos_url":"https://api.github.com/users/KTH-AEROWORKS/repos","events_url":"https://api.github.com/users/KTH-AEROWORKS/events{/privacy}","received_events_url":"https://api.github.com/users/KTH-AEROWORKS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KTH-AEROWORKS/sml_under_development","description":"","fork":false,"url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development","forks_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/forks","keys_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/teams","hooks_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/hooks","issue_events_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/issues/events{/number}","events_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/events","assignees_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/assignees{/user}","branches_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/branches{/branch}","tags_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/tags","blobs_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/git/refs{/sha}","trees_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/statuses/{sha}","languages_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/languages","stargazers_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/stargazers","contributors_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/contributors","subscribers_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/subscribers","subscription_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/subscription","commits_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/commits{/sha}","git_commits_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/git/commits{/sha}","comments_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/comments{/number}","issue_comment_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/issues/comments{/number}","contents_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/contents/{+path}","compare_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/merges","archive_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/downloads","issues_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/issues{/number}","pulls_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/pulls{/number}","milestones_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/milestones{/number}","notifications_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/labels{/name}","releases_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/releases{/id}","deployments_url":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/deployments","created_at":"2016-03-22T15:52:31Z","updated_at":"2016-03-22T15:55:15Z","pushed_at":"2016-04-05T09:17:40Z","git_url":"git://github.com/KTH-AEROWORKS/sml_under_development.git","ssh_url":"git@github.com:KTH-AEROWORKS/sml_under_development.git","clone_url":"https://github.com/KTH-AEROWORKS/sml_under_development.git","svn_url":"https://github.com/KTH-AEROWORKS/sml_under_development","homepage":null,"size":19598,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/pulls/14"},"html":{"href":"https://github.com/KTH-AEROWORKS/sml_under_development/pull/14"},"issue":{"href":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/issues/14"},"comments":{"href":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/KTH-AEROWORKS/sml_under_development/statuses/3e2c5ae52fda18918257513be4c129213db48400"}}}}