{"action":"created","comment":{"url":"https://api.github.com/repos/SciTools/cf_units/pulls/comments/47379917","id":47379917,"diff_hunk":"@@ -1883,27 +1887,26 @@ def convert(self, value, other, ctype=FLOAT64):\n             32.0\n             >>> a64 = np.arange(10, dtype=np.float64)\n             >>> c.convert(a64, f)\n-            array([ 32. ,  33.8,  35.6,  37.4,  39.2,  41. ,  42.8,  44.6, \\\n- 46.4,  48.2])\n+            array([ 32. ,  33.8,  35.6,  37.4,  39.2,  41. ,  42.8,  44.6,\n+                    46.4,  48.2])\n             >>> a32 = np.arange(10, dtype=np.float32)\n             >>> c.convert(a32, f)\n             array([ 32.        ,  33.79999924,  35.59999847,  37.40000153,\n                     39.20000076,  41.        ,  42.79999924,  44.59999847,\n                     46.40000153,  48.20000076], dtype=float32)\n \n-        .. note::\n-\n-            Conversion is done *in-place* for numpy arrays. Also note that,\n-            conversion between unit calendars is not permitted.\n-\n+        .. note:: Conversion between unit calendars is not permitted.","path":"cf_units/__init__.py","position":48,"original_position":48,"commit_id":"c71153b7bbf1ae390eaef4964e107cb701aa365f","original_commit_id":"c71153b7bbf1ae390eaef4964e107cb701aa365f","user":{"login":"bekozi","id":636921,"avatar_url":"https://avatars.githubusercontent.com/u/636921?v=3","gravatar_id":"","url":"https://api.github.com/users/bekozi","html_url":"https://github.com/bekozi","followers_url":"https://api.github.com/users/bekozi/followers","following_url":"https://api.github.com/users/bekozi/following{/other_user}","gists_url":"https://api.github.com/users/bekozi/gists{/gist_id}","starred_url":"https://api.github.com/users/bekozi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bekozi/subscriptions","organizations_url":"https://api.github.com/users/bekozi/orgs","repos_url":"https://api.github.com/users/bekozi/repos","events_url":"https://api.github.com/users/bekozi/events{/privacy}","received_events_url":"https://api.github.com/users/bekozi/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2015-12-11T17:19:11Z","updated_at":"2015-12-11T17:19:11Z","html_url":"https://github.com/SciTools/cf_units/pull/45#discussion_r47379917","pull_request_url":"https://api.github.com/repos/SciTools/cf_units/pulls/45","_links":{"self":{"href":"https://api.github.com/repos/SciTools/cf_units/pulls/comments/47379917"},"html":{"href":"https://github.com/SciTools/cf_units/pull/45#discussion_r47379917"},"pull_request":{"href":"https://api.github.com/repos/SciTools/cf_units/pulls/45"}}},"pull_request":{"url":"https://api.github.com/repos/SciTools/cf_units/pulls/45","id":53200079,"html_url":"https://github.com/SciTools/cf_units/pull/45","diff_url":"https://github.com/SciTools/cf_units/pull/45.diff","patch_url":"https://github.com/SciTools/cf_units/pull/45.patch","issue_url":"https://api.github.com/repos/SciTools/cf_units/issues/45","number":45,"state":"open","locked":false,"title":"Added \"inplace\" keyword argument to \"Unit.convert\"","user":{"login":"bekozi","id":636921,"avatar_url":"https://avatars.githubusercontent.com/u/636921?v=3","gravatar_id":"","url":"https://api.github.com/users/bekozi","html_url":"https://github.com/bekozi","followers_url":"https://api.github.com/users/bekozi/followers","following_url":"https://api.github.com/users/bekozi/following{/other_user}","gists_url":"https://api.github.com/users/bekozi/gists{/gist_id}","starred_url":"https://api.github.com/users/bekozi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bekozi/subscriptions","organizations_url":"https://api.github.com/users/bekozi/orgs","repos_url":"https://api.github.com/users/bekozi/repos","events_url":"https://api.github.com/users/bekozi/events{/privacy}","received_events_url":"https://api.github.com/users/bekozi/received_events","type":"User","site_admin":false},"body":"- Changed \"convert\" to in-place for float-to-float conversions.\r\n- Revised \"convert\" docstring.\r\n- Updated unit test.","created_at":"2015-12-10T00:33:29Z","updated_at":"2015-12-11T17:19:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2e5a581217a2630639eafb3932381828e8421716","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SciTools/cf_units/pulls/45/commits","review_comments_url":"https://api.github.com/repos/SciTools/cf_units/pulls/45/comments","review_comment_url":"https://api.github.com/repos/SciTools/cf_units/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SciTools/cf_units/issues/45/comments","statuses_url":"https://api.github.com/repos/SciTools/cf_units/statuses/c71153b7bbf1ae390eaef4964e107cb701aa365f","head":{"label":"NESII:inplace-convert","ref":"inplace-convert","sha":"c71153b7bbf1ae390eaef4964e107cb701aa365f","user":{"login":"NESII","id":10067813,"avatar_url":"https://avatars.githubusercontent.com/u/10067813?v=3","gravatar_id":"","url":"https://api.github.com/users/NESII","html_url":"https://github.com/NESII","followers_url":"https://api.github.com/users/NESII/followers","following_url":"https://api.github.com/users/NESII/following{/other_user}","gists_url":"https://api.github.com/users/NESII/gists{/gist_id}","starred_url":"https://api.github.com/users/NESII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NESII/subscriptions","organizations_url":"https://api.github.com/users/NESII/orgs","repos_url":"https://api.github.com/users/NESII/repos","events_url":"https://api.github.com/users/NESII/events{/privacy}","received_events_url":"https://api.github.com/users/NESII/received_events","type":"Organization","site_admin":false},"repo":{"id":46804396,"name":"cf_units","full_name":"NESII/cf_units","owner":{"login":"NESII","id":10067813,"avatar_url":"https://avatars.githubusercontent.com/u/10067813?v=3","gravatar_id":"","url":"https://api.github.com/users/NESII","html_url":"https://github.com/NESII","followers_url":"https://api.github.com/users/NESII/followers","following_url":"https://api.github.com/users/NESII/following{/other_user}","gists_url":"https://api.github.com/users/NESII/gists{/gist_id}","starred_url":"https://api.github.com/users/NESII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NESII/subscriptions","organizations_url":"https://api.github.com/users/NESII/orgs","repos_url":"https://api.github.com/users/NESII/repos","events_url":"https://api.github.com/users/NESII/events{/privacy}","received_events_url":"https://api.github.com/users/NESII/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NESII/cf_units","description":"Iris units module","fork":true,"url":"https://api.github.com/repos/NESII/cf_units","forks_url":"https://api.github.com/repos/NESII/cf_units/forks","keys_url":"https://api.github.com/repos/NESII/cf_units/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NESII/cf_units/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NESII/cf_units/teams","hooks_url":"https://api.github.com/repos/NESII/cf_units/hooks","issue_events_url":"https://api.github.com/repos/NESII/cf_units/issues/events{/number}","events_url":"https://api.github.com/repos/NESII/cf_units/events","assignees_url":"https://api.github.com/repos/NESII/cf_units/assignees{/user}","branches_url":"https://api.github.com/repos/NESII/cf_units/branches{/branch}","tags_url":"https://api.github.com/repos/NESII/cf_units/tags","blobs_url":"https://api.github.com/repos/NESII/cf_units/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NESII/cf_units/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NESII/cf_units/git/refs{/sha}","trees_url":"https://api.github.com/repos/NESII/cf_units/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NESII/cf_units/statuses/{sha}","languages_url":"https://api.github.com/repos/NESII/cf_units/languages","stargazers_url":"https://api.github.com/repos/NESII/cf_units/stargazers","contributors_url":"https://api.github.com/repos/NESII/cf_units/contributors","subscribers_url":"https://api.github.com/repos/NESII/cf_units/subscribers","subscription_url":"https://api.github.com/repos/NESII/cf_units/subscription","commits_url":"https://api.github.com/repos/NESII/cf_units/commits{/sha}","git_commits_url":"https://api.github.com/repos/NESII/cf_units/git/commits{/sha}","comments_url":"https://api.github.com/repos/NESII/cf_units/comments{/number}","issue_comment_url":"https://api.github.com/repos/NESII/cf_units/issues/comments{/number}","contents_url":"https://api.github.com/repos/NESII/cf_units/contents/{+path}","compare_url":"https://api.github.com/repos/NESII/cf_units/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NESII/cf_units/merges","archive_url":"https://api.github.com/repos/NESII/cf_units/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NESII/cf_units/downloads","issues_url":"https://api.github.com/repos/NESII/cf_units/issues{/number}","pulls_url":"https://api.github.com/repos/NESII/cf_units/pulls{/number}","milestones_url":"https://api.github.com/repos/NESII/cf_units/milestones{/number}","notifications_url":"https://api.github.com/repos/NESII/cf_units/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NESII/cf_units/labels{/name}","releases_url":"https://api.github.com/repos/NESII/cf_units/releases{/id}","created_at":"2015-11-24T16:33:55Z","updated_at":"2015-11-24T16:33:56Z","pushed_at":"2015-12-10T16:32:16Z","git_url":"git://github.com/NESII/cf_units.git","ssh_url":"git@github.com:NESII/cf_units.git","clone_url":"https://github.com/NESII/cf_units.git","svn_url":"https://github.com/NESII/cf_units","homepage":null,"size":99,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SciTools:master","ref":"master","sha":"1bf22ea34b62ca78592bc3d13ec024e84458e856","user":{"login":"SciTools","id":1391487,"avatar_url":"https://avatars.githubusercontent.com/u/1391487?v=3","gravatar_id":"","url":"https://api.github.com/users/SciTools","html_url":"https://github.com/SciTools","followers_url":"https://api.github.com/users/SciTools/followers","following_url":"https://api.github.com/users/SciTools/following{/other_user}","gists_url":"https://api.github.com/users/SciTools/gists{/gist_id}","starred_url":"https://api.github.com/users/SciTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SciTools/subscriptions","organizations_url":"https://api.github.com/users/SciTools/orgs","repos_url":"https://api.github.com/users/SciTools/repos","events_url":"https://api.github.com/users/SciTools/events{/privacy}","received_events_url":"https://api.github.com/users/SciTools/received_events","type":"Organization","site_admin":false},"repo":{"id":32102712,"name":"cf_units","full_name":"SciTools/cf_units","owner":{"login":"SciTools","id":1391487,"avatar_url":"https://avatars.githubusercontent.com/u/1391487?v=3","gravatar_id":"","url":"https://api.github.com/users/SciTools","html_url":"https://github.com/SciTools","followers_url":"https://api.github.com/users/SciTools/followers","following_url":"https://api.github.com/users/SciTools/following{/other_user}","gists_url":"https://api.github.com/users/SciTools/gists{/gist_id}","starred_url":"https://api.github.com/users/SciTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SciTools/subscriptions","organizations_url":"https://api.github.com/users/SciTools/orgs","repos_url":"https://api.github.com/users/SciTools/repos","events_url":"https://api.github.com/users/SciTools/events{/privacy}","received_events_url":"https://api.github.com/users/SciTools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SciTools/cf_units","description":"Iris units module","fork":false,"url":"https://api.github.com/repos/SciTools/cf_units","forks_url":"https://api.github.com/repos/SciTools/cf_units/forks","keys_url":"https://api.github.com/repos/SciTools/cf_units/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SciTools/cf_units/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SciTools/cf_units/teams","hooks_url":"https://api.github.com/repos/SciTools/cf_units/hooks","issue_events_url":"https://api.github.com/repos/SciTools/cf_units/issues/events{/number}","events_url":"https://api.github.com/repos/SciTools/cf_units/events","assignees_url":"https://api.github.com/repos/SciTools/cf_units/assignees{/user}","branches_url":"https://api.github.com/repos/SciTools/cf_units/branches{/branch}","tags_url":"https://api.github.com/repos/SciTools/cf_units/tags","blobs_url":"https://api.github.com/repos/SciTools/cf_units/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SciTools/cf_units/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SciTools/cf_units/git/refs{/sha}","trees_url":"https://api.github.com/repos/SciTools/cf_units/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SciTools/cf_units/statuses/{sha}","languages_url":"https://api.github.com/repos/SciTools/cf_units/languages","stargazers_url":"https://api.github.com/repos/SciTools/cf_units/stargazers","contributors_url":"https://api.github.com/repos/SciTools/cf_units/contributors","subscribers_url":"https://api.github.com/repos/SciTools/cf_units/subscribers","subscription_url":"https://api.github.com/repos/SciTools/cf_units/subscription","commits_url":"https://api.github.com/repos/SciTools/cf_units/commits{/sha}","git_commits_url":"https://api.github.com/repos/SciTools/cf_units/git/commits{/sha}","comments_url":"https://api.github.com/repos/SciTools/cf_units/comments{/number}","issue_comment_url":"https://api.github.com/repos/SciTools/cf_units/issues/comments{/number}","contents_url":"https://api.github.com/repos/SciTools/cf_units/contents/{+path}","compare_url":"https://api.github.com/repos/SciTools/cf_units/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SciTools/cf_units/merges","archive_url":"https://api.github.com/repos/SciTools/cf_units/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SciTools/cf_units/downloads","issues_url":"https://api.github.com/repos/SciTools/cf_units/issues{/number}","pulls_url":"https://api.github.com/repos/SciTools/cf_units/pulls{/number}","milestones_url":"https://api.github.com/repos/SciTools/cf_units/milestones{/number}","notifications_url":"https://api.github.com/repos/SciTools/cf_units/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SciTools/cf_units/labels{/name}","releases_url":"https://api.github.com/repos/SciTools/cf_units/releases{/id}","created_at":"2015-03-12T21:09:35Z","updated_at":"2015-11-13T16:39:50Z","pushed_at":"2015-12-10T16:32:16Z","git_url":"git://github.com/SciTools/cf_units.git","ssh_url":"git@github.com:SciTools/cf_units.git","clone_url":"https://github.com/SciTools/cf_units.git","svn_url":"https://github.com/SciTools/cf_units","homepage":null,"size":116,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":9,"forks":13,"open_issues":9,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SciTools/cf_units/pulls/45"},"html":{"href":"https://github.com/SciTools/cf_units/pull/45"},"issue":{"href":"https://api.github.com/repos/SciTools/cf_units/issues/45"},"comments":{"href":"https://api.github.com/repos/SciTools/cf_units/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/SciTools/cf_units/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/SciTools/cf_units/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SciTools/cf_units/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/SciTools/cf_units/statuses/c71153b7bbf1ae390eaef4964e107cb701aa365f"}}}}