{"action":"created","comment":{"url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/pulls/comments/67811984","id":67811984,"diff_hunk":"@@ -376,6 +374,12 @@ def takedown(self):\n         # power LED\n         self.power_LED.off()\n         GPIO.cleanup()\n+        \n+        # send the rest of the queue object to DEFAULT_DATA_BACKLOG_FILE upon shutdown","path":"manager.py","position":138,"original_position":138,"commit_id":"7db866fc2c33f2f59e2d0958b5a1677728e09b90","original_commit_id":"7db866fc2c33f2f59e2d0958b5a1677728e09b90","user":{"login":"bplimley","id":5259089,"avatar_url":"https://avatars.githubusercontent.com/u/5259089?v=3","gravatar_id":"","url":"https://api.github.com/users/bplimley","html_url":"https://github.com/bplimley","followers_url":"https://api.github.com/users/bplimley/followers","following_url":"https://api.github.com/users/bplimley/following{/other_user}","gists_url":"https://api.github.com/users/bplimley/gists{/gist_id}","starred_url":"https://api.github.com/users/bplimley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bplimley/subscriptions","organizations_url":"https://api.github.com/users/bplimley/orgs","repos_url":"https://api.github.com/users/bplimley/repos","events_url":"https://api.github.com/users/bplimley/events{/privacy}","received_events_url":"https://api.github.com/users/bplimley/received_events","type":"User","site_admin":false},"body":"This is good, but make it a method of `DataHandler` that gets called from here.","created_at":"2016-06-21T05:59:43Z","updated_at":"2016-06-21T05:59:43Z","html_url":"https://github.com/bearing/dosenet-raspberrypi/pull/47#discussion_r67811984","pull_request_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/bearing/dosenet-raspberrypi/pulls/comments/67811984"},"html":{"href":"https://github.com/bearing/dosenet-raspberrypi/pull/47#discussion_r67811984"},"pull_request":{"href":"https://api.github.com/repos/bearing/dosenet-raspberrypi/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/pulls/47","id":73610953,"html_url":"https://github.com/bearing/dosenet-raspberrypi/pull/47","diff_url":"https://github.com/bearing/dosenet-raspberrypi/pull/47.diff","patch_url":"https://github.com/bearing/dosenet-raspberrypi/pull/47.patch","issue_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/issues/47","number":47,"state":"open","locked":false,"title":"Memory-#13","user":{"login":"tybtab","id":14934351,"avatar_url":"https://avatars.githubusercontent.com/u/14934351?v=3","gravatar_id":"","url":"https://api.github.com/users/tybtab","html_url":"https://github.com/tybtab","followers_url":"https://api.github.com/users/tybtab/followers","following_url":"https://api.github.com/users/tybtab/following{/other_user}","gists_url":"https://api.github.com/users/tybtab/gists{/gist_id}","starred_url":"https://api.github.com/users/tybtab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tybtab/subscriptions","organizations_url":"https://api.github.com/users/tybtab/orgs","repos_url":"https://api.github.com/users/tybtab/repos","events_url":"https://api.github.com/users/tybtab/events{/privacy}","received_events_url":"https://api.github.com/users/tybtab/received_events","type":"User","site_admin":false},"body":"Here is what I have so far for the new class. It is working fine on my device. I am able to run it normally. It runs fine when there is no network and sends the cpm data to a deque object. It also works fine with tests.py. ","created_at":"2016-06-13T17:13:19Z","updated_at":"2016-06-21T05:59:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f49fda4e2b9487e5273b10babab866ed72bb48c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/pulls/47/commits","review_comments_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/pulls/47/comments","review_comment_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/issues/47/comments","statuses_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/statuses/7db866fc2c33f2f59e2d0958b5a1677728e09b90","head":{"label":"tybtab:memory-#13","ref":"memory-#13","sha":"7db866fc2c33f2f59e2d0958b5a1677728e09b90","user":{"login":"tybtab","id":14934351,"avatar_url":"https://avatars.githubusercontent.com/u/14934351?v=3","gravatar_id":"","url":"https://api.github.com/users/tybtab","html_url":"https://github.com/tybtab","followers_url":"https://api.github.com/users/tybtab/followers","following_url":"https://api.github.com/users/tybtab/following{/other_user}","gists_url":"https://api.github.com/users/tybtab/gists{/gist_id}","starred_url":"https://api.github.com/users/tybtab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tybtab/subscriptions","organizations_url":"https://api.github.com/users/tybtab/orgs","repos_url":"https://api.github.com/users/tybtab/repos","events_url":"https://api.github.com/users/tybtab/events{/privacy}","received_events_url":"https://api.github.com/users/tybtab/received_events","type":"User","site_admin":false},"repo":{"id":59779621,"name":"dosenet-raspberrypi","full_name":"tybtab/dosenet-raspberrypi","owner":{"login":"tybtab","id":14934351,"avatar_url":"https://avatars.githubusercontent.com/u/14934351?v=3","gravatar_id":"","url":"https://api.github.com/users/tybtab","html_url":"https://github.com/tybtab","followers_url":"https://api.github.com/users/tybtab/followers","following_url":"https://api.github.com/users/tybtab/following{/other_user}","gists_url":"https://api.github.com/users/tybtab/gists{/gist_id}","starred_url":"https://api.github.com/users/tybtab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tybtab/subscriptions","organizations_url":"https://api.github.com/users/tybtab/orgs","repos_url":"https://api.github.com/users/tybtab/repos","events_url":"https://api.github.com/users/tybtab/events{/privacy}","received_events_url":"https://api.github.com/users/tybtab/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tybtab/dosenet-raspberrypi","description":"Raspberry Pi specific software for dosimeters.","fork":true,"url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi","forks_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/forks","keys_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/teams","hooks_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/hooks","issue_events_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/issues/events{/number}","events_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/events","assignees_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/assignees{/user}","branches_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/branches{/branch}","tags_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/tags","blobs_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/git/refs{/sha}","trees_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/statuses/{sha}","languages_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/languages","stargazers_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/stargazers","contributors_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/contributors","subscribers_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/subscribers","subscription_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/subscription","commits_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/commits{/sha}","git_commits_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/git/commits{/sha}","comments_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/comments{/number}","issue_comment_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/issues/comments{/number}","contents_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/contents/{+path}","compare_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/merges","archive_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/downloads","issues_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/issues{/number}","pulls_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/pulls{/number}","milestones_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/milestones{/number}","notifications_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/labels{/name}","releases_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/releases{/id}","deployments_url":"https://api.github.com/repos/tybtab/dosenet-raspberrypi/deployments","created_at":"2016-05-26T20:01:19Z","updated_at":"2016-05-26T20:01:20Z","pushed_at":"2016-06-20T18:27:24Z","git_url":"git://github.com/tybtab/dosenet-raspberrypi.git","ssh_url":"git@github.com:tybtab/dosenet-raspberrypi.git","clone_url":"https://github.com/tybtab/dosenet-raspberrypi.git","svn_url":"https://github.com/tybtab/dosenet-raspberrypi","homepage":null,"size":279,"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":"bearing:master","ref":"master","sha":"12cc6a94912fc37afaef439ff245772fcbbbd591","user":{"login":"bearing","id":1179817,"avatar_url":"https://avatars.githubusercontent.com/u/1179817?v=3","gravatar_id":"","url":"https://api.github.com/users/bearing","html_url":"https://github.com/bearing","followers_url":"https://api.github.com/users/bearing/followers","following_url":"https://api.github.com/users/bearing/following{/other_user}","gists_url":"https://api.github.com/users/bearing/gists{/gist_id}","starred_url":"https://api.github.com/users/bearing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bearing/subscriptions","organizations_url":"https://api.github.com/users/bearing/orgs","repos_url":"https://api.github.com/users/bearing/repos","events_url":"https://api.github.com/users/bearing/events{/privacy}","received_events_url":"https://api.github.com/users/bearing/received_events","type":"Organization","site_admin":false},"repo":{"id":44706752,"name":"dosenet-raspberrypi","full_name":"bearing/dosenet-raspberrypi","owner":{"login":"bearing","id":1179817,"avatar_url":"https://avatars.githubusercontent.com/u/1179817?v=3","gravatar_id":"","url":"https://api.github.com/users/bearing","html_url":"https://github.com/bearing","followers_url":"https://api.github.com/users/bearing/followers","following_url":"https://api.github.com/users/bearing/following{/other_user}","gists_url":"https://api.github.com/users/bearing/gists{/gist_id}","starred_url":"https://api.github.com/users/bearing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bearing/subscriptions","organizations_url":"https://api.github.com/users/bearing/orgs","repos_url":"https://api.github.com/users/bearing/repos","events_url":"https://api.github.com/users/bearing/events{/privacy}","received_events_url":"https://api.github.com/users/bearing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bearing/dosenet-raspberrypi","description":"Raspberry Pi specific software for dosimeters.","fork":false,"url":"https://api.github.com/repos/bearing/dosenet-raspberrypi","forks_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/forks","keys_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/teams","hooks_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/hooks","issue_events_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/issues/events{/number}","events_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/events","assignees_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/assignees{/user}","branches_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/branches{/branch}","tags_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/tags","blobs_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/git/refs{/sha}","trees_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/statuses/{sha}","languages_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/languages","stargazers_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/stargazers","contributors_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/contributors","subscribers_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/subscribers","subscription_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/subscription","commits_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/commits{/sha}","git_commits_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/git/commits{/sha}","comments_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/comments{/number}","issue_comment_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/issues/comments{/number}","contents_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/contents/{+path}","compare_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/merges","archive_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/downloads","issues_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/issues{/number}","pulls_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/pulls{/number}","milestones_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/milestones{/number}","notifications_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/labels{/name}","releases_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/releases{/id}","deployments_url":"https://api.github.com/repos/bearing/dosenet-raspberrypi/deployments","created_at":"2015-10-21T21:53:19Z","updated_at":"2016-05-27T09:45:41Z","pushed_at":"2016-06-20T18:27:25Z","git_url":"git://github.com/bearing/dosenet-raspberrypi.git","ssh_url":"git@github.com:bearing/dosenet-raspberrypi.git","clone_url":"https://github.com/bearing/dosenet-raspberrypi.git","svn_url":"https://github.com/bearing/dosenet-raspberrypi","homepage":null,"size":349,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":6,"forks":5,"open_issues":6,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bearing/dosenet-raspberrypi/pulls/47"},"html":{"href":"https://github.com/bearing/dosenet-raspberrypi/pull/47"},"issue":{"href":"https://api.github.com/repos/bearing/dosenet-raspberrypi/issues/47"},"comments":{"href":"https://api.github.com/repos/bearing/dosenet-raspberrypi/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/bearing/dosenet-raspberrypi/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/bearing/dosenet-raspberrypi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bearing/dosenet-raspberrypi/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/bearing/dosenet-raspberrypi/statuses/7db866fc2c33f2f59e2d0958b5a1677728e09b90"}}}}
{"actor":{"display_login":"bplimley"}}