{"action":"created","comment":{"url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/pulls/comments/61776495","id":61776495,"diff_hunk":"@@ -0,0 +1,418 @@\n+{\n+ \"cells\": [\n+  {\n+   \"cell_type\": \"markdown\",\n+   \"metadata\": {},\n+   \"source\": [\n+    \"# odm2api sample\\n\",\n+    \"Largely from https://github.com/ODM2/ODM2PythonAPI/blob/master/Examples/Sample.py   \\n\",\n+    \"- 2/7/2016. Tested successfully with `sfgeometry_em_1` branch, with my overhauls. Using `odm2api_dev` env.\\n\",\n+    \"- 2/1 - 1/31. Errors with SamplingFeatures code, with latest odm2api from master (on env `odm2api_jan31test`). *The code also fails the same way with the `odm2api` env, but it does still run fine with the `odm2api_jan21` env! I'm investigating the differences between those two envs.*\\n\",\n+    \"- 1/22-20,9/2016.\\n\",\n+    \"\\n\",\n+    \"Emilio Mayorga\"\n+   ]\n+  },\n+  {\n+   \"cell_type\": \"code\",\n+   \"execution_count\": null,\n+   \"metadata\": {\n+    \"collapsed\": false\n+   },\n+   \"outputs\": [],\n+   \"source\": [\n+    \"%matplotlib inline\\n\",\n+    \"import sys\\n\",\n+    \"import os\\n\",\n+    \"import matplotlib.pyplot as plt\\n\",\n+    \"from matplotlib import dates\"\n+   ]\n+  },\n+  {\n+   \"cell_type\": \"code\",\n+   \"execution_count\": null,\n+   \"metadata\": {\n+    \"collapsed\": true\n+   },\n+   \"outputs\": [],\n+   \"source\": [\n+    \"from odm2api.ODMconnection import dbconnection\\n\",\n+    \"from odm2api.ODM2.services.readService import *\"\n+   ]\n+  },\n+  {\n+   \"cell_type\": \"code\",\n+   \"execution_count\": null,\n+   \"metadata\": {\n+    \"collapsed\": false\n+   },\n+   \"outputs\": [],\n+   \"source\": [\n+    \"# Create a connection to the ODM2 database\\n\",\n+    \"# ----------------------------------------\\n\",\n+    \"odm2db_fpth = 'ODM2-LittleBear1.sqlite'\\n\",","path":"notebooks/odm2api_sample_fromsqlite.ipynb","position":null,"original_position":53,"commit_id":"c436ded04ef842e33ebde8e1ef7a245e8d8d651c","original_commit_id":"f6b7293727bf4a6420044fd37a64b761e77e70ce","user":{"login":"emiliom","id":742403,"avatar_url":"https://avatars.githubusercontent.com/u/742403?v=3","gravatar_id":"","url":"https://api.github.com/users/emiliom","html_url":"https://github.com/emiliom","followers_url":"https://api.github.com/users/emiliom/followers","following_url":"https://api.github.com/users/emiliom/following{/other_user}","gists_url":"https://api.github.com/users/emiliom/gists{/gist_id}","starred_url":"https://api.github.com/users/emiliom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emiliom/subscriptions","organizations_url":"https://api.github.com/users/emiliom/orgs","repos_url":"https://api.github.com/users/emiliom/repos","events_url":"https://api.github.com/users/emiliom/events{/privacy}","received_events_url":"https://api.github.com/users/emiliom/received_events","type":"User","site_admin":false},"body":"Great! Please send me an email when the binder is done and working; but no rush at all.","created_at":"2016-05-02T18:02:41Z","updated_at":"2016-05-02T18:02:41Z","html_url":"https://github.com/ODM2/conda-recipes-ODM2/pull/34#discussion_r61776495","pull_request_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/pulls/comments/61776495"},"html":{"href":"https://github.com/ODM2/conda-recipes-ODM2/pull/34#discussion_r61776495"},"pull_request":{"href":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/pulls/34","id":68404040,"html_url":"https://github.com/ODM2/conda-recipes-ODM2/pull/34","diff_url":"https://github.com/ODM2/conda-recipes-ODM2/pull/34.diff","patch_url":"https://github.com/ODM2/conda-recipes-ODM2/pull/34.patch","issue_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/issues/34","number":34,"state":"closed","locked":false,"title":"Notebook","user":{"login":"ocefpaf","id":950575,"avatar_url":"https://avatars.githubusercontent.com/u/950575?v=3","gravatar_id":"","url":"https://api.github.com/users/ocefpaf","html_url":"https://github.com/ocefpaf","followers_url":"https://api.github.com/users/ocefpaf/followers","following_url":"https://api.github.com/users/ocefpaf/following{/other_user}","gists_url":"https://api.github.com/users/ocefpaf/gists{/gist_id}","starred_url":"https://api.github.com/users/ocefpaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocefpaf/subscriptions","organizations_url":"https://api.github.com/users/ocefpaf/orgs","repos_url":"https://api.github.com/users/ocefpaf/repos","events_url":"https://api.github.com/users/ocefpaf/events{/privacy}","received_events_url":"https://api.github.com/users/ocefpaf/received_events","type":"User","site_admin":false},"body":"@emiliom this is the first step to add a few notebook examples here that we ca run with [binder](http://mybinder.org/) and the [ODM2](http://anaconda.org/odm2) channel.","created_at":"2016-04-29T17:13:51Z","updated_at":"2016-05-02T18:02:41Z","closed_at":"2016-05-02T16:31:35Z","merged_at":"2016-05-02T16:31:35Z","merge_commit_sha":"e7291700f65020cefd944d9b5934b82d5868415d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/pulls/34/commits","review_comments_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/pulls/34/comments","review_comment_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/issues/34/comments","statuses_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/statuses/c436ded04ef842e33ebde8e1ef7a245e8d8d651c","head":{"label":"ocefpaf:notebook","ref":"notebook","sha":"c436ded04ef842e33ebde8e1ef7a245e8d8d651c","user":{"login":"ocefpaf","id":950575,"avatar_url":"https://avatars.githubusercontent.com/u/950575?v=3","gravatar_id":"","url":"https://api.github.com/users/ocefpaf","html_url":"https://github.com/ocefpaf","followers_url":"https://api.github.com/users/ocefpaf/followers","following_url":"https://api.github.com/users/ocefpaf/following{/other_user}","gists_url":"https://api.github.com/users/ocefpaf/gists{/gist_id}","starred_url":"https://api.github.com/users/ocefpaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocefpaf/subscriptions","organizations_url":"https://api.github.com/users/ocefpaf/orgs","repos_url":"https://api.github.com/users/ocefpaf/repos","events_url":"https://api.github.com/users/ocefpaf/events{/privacy}","received_events_url":"https://api.github.com/users/ocefpaf/received_events","type":"User","site_admin":false},"repo":{"id":56261117,"name":"conda-recipes-ODM2","full_name":"ocefpaf/conda-recipes-ODM2","owner":{"login":"ocefpaf","id":950575,"avatar_url":"https://avatars.githubusercontent.com/u/950575?v=3","gravatar_id":"","url":"https://api.github.com/users/ocefpaf","html_url":"https://github.com/ocefpaf","followers_url":"https://api.github.com/users/ocefpaf/followers","following_url":"https://api.github.com/users/ocefpaf/following{/other_user}","gists_url":"https://api.github.com/users/ocefpaf/gists{/gist_id}","starred_url":"https://api.github.com/users/ocefpaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocefpaf/subscriptions","organizations_url":"https://api.github.com/users/ocefpaf/orgs","repos_url":"https://api.github.com/users/ocefpaf/repos","events_url":"https://api.github.com/users/ocefpaf/events{/privacy}","received_events_url":"https://api.github.com/users/ocefpaf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ocefpaf/conda-recipes-ODM2","description":"Conda recipes for the Observations Data Model 2 ","fork":true,"url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2","forks_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/forks","keys_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/teams","hooks_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/hooks","issue_events_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/issues/events{/number}","events_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/events","assignees_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/assignees{/user}","branches_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/branches{/branch}","tags_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/tags","blobs_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/git/refs{/sha}","trees_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/statuses/{sha}","languages_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/languages","stargazers_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/stargazers","contributors_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/contributors","subscribers_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/subscribers","subscription_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/subscription","commits_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/commits{/sha}","git_commits_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/git/commits{/sha}","comments_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/comments{/number}","issue_comment_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/issues/comments{/number}","contents_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/contents/{+path}","compare_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/merges","archive_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/downloads","issues_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/issues{/number}","pulls_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/pulls{/number}","milestones_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/milestones{/number}","notifications_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/labels{/name}","releases_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/releases{/id}","deployments_url":"https://api.github.com/repos/ocefpaf/conda-recipes-ODM2/deployments","created_at":"2016-04-14T18:32:50Z","updated_at":"2016-05-02T16:36:16Z","pushed_at":"2016-05-02T17:30:08Z","git_url":"git://github.com/ocefpaf/conda-recipes-ODM2.git","ssh_url":"git@github.com:ocefpaf/conda-recipes-ODM2.git","clone_url":"https://github.com/ocefpaf/conda-recipes-ODM2.git","svn_url":"https://github.com/ocefpaf/conda-recipes-ODM2","homepage":null,"size":597,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","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":"ODM2:master","ref":"master","sha":"e32975063d7cb16316c9aec6293710c2972c6de2","user":{"login":"ODM2","id":12091612,"avatar_url":"https://avatars.githubusercontent.com/u/12091612?v=3","gravatar_id":"","url":"https://api.github.com/users/ODM2","html_url":"https://github.com/ODM2","followers_url":"https://api.github.com/users/ODM2/followers","following_url":"https://api.github.com/users/ODM2/following{/other_user}","gists_url":"https://api.github.com/users/ODM2/gists{/gist_id}","starred_url":"https://api.github.com/users/ODM2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ODM2/subscriptions","organizations_url":"https://api.github.com/users/ODM2/orgs","repos_url":"https://api.github.com/users/ODM2/repos","events_url":"https://api.github.com/users/ODM2/events{/privacy}","received_events_url":"https://api.github.com/users/ODM2/received_events","type":"Organization","site_admin":false},"repo":{"id":54988506,"name":"conda-recipes-ODM2","full_name":"ODM2/conda-recipes-ODM2","owner":{"login":"ODM2","id":12091612,"avatar_url":"https://avatars.githubusercontent.com/u/12091612?v=3","gravatar_id":"","url":"https://api.github.com/users/ODM2","html_url":"https://github.com/ODM2","followers_url":"https://api.github.com/users/ODM2/followers","following_url":"https://api.github.com/users/ODM2/following{/other_user}","gists_url":"https://api.github.com/users/ODM2/gists{/gist_id}","starred_url":"https://api.github.com/users/ODM2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ODM2/subscriptions","organizations_url":"https://api.github.com/users/ODM2/orgs","repos_url":"https://api.github.com/users/ODM2/repos","events_url":"https://api.github.com/users/ODM2/events{/privacy}","received_events_url":"https://api.github.com/users/ODM2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ODM2/conda-recipes-ODM2","description":"Conda recipes for the Observations Data Model 2 ","fork":false,"url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2","forks_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/forks","keys_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/teams","hooks_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/hooks","issue_events_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/issues/events{/number}","events_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/events","assignees_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/assignees{/user}","branches_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/branches{/branch}","tags_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/tags","blobs_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/git/refs{/sha}","trees_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/statuses/{sha}","languages_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/languages","stargazers_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/stargazers","contributors_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/contributors","subscribers_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/subscribers","subscription_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/subscription","commits_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/commits{/sha}","git_commits_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/git/commits{/sha}","comments_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/comments{/number}","issue_comment_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/issues/comments{/number}","contents_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/contents/{+path}","compare_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/merges","archive_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/downloads","issues_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/issues{/number}","pulls_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/pulls{/number}","milestones_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/milestones{/number}","notifications_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/labels{/name}","releases_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/releases{/id}","deployments_url":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/deployments","created_at":"2016-03-29T15:41:55Z","updated_at":"2016-05-02T16:31:36Z","pushed_at":"2016-05-02T17:29:17Z","git_url":"git://github.com/ODM2/conda-recipes-ODM2.git","ssh_url":"git@github.com:ODM2/conda-recipes-ODM2.git","clone_url":"https://github.com/ODM2/conda-recipes-ODM2.git","svn_url":"https://github.com/ODM2/conda-recipes-ODM2","homepage":null,"size":598,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/pulls/34"},"html":{"href":"https://github.com/ODM2/conda-recipes-ODM2/pull/34"},"issue":{"href":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/issues/34"},"comments":{"href":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/ODM2/conda-recipes-ODM2/statuses/c436ded04ef842e33ebde8e1ef7a245e8d8d651c"}}}}