{"action":"closed","number":22,"pull_request":{"url":"https://api.github.com/repos/ldevesine/cscibox/pulls/22","id":42956203,"html_url":"https://github.com/ldevesine/cscibox/pull/22","diff_url":"https://github.com/ldevesine/cscibox/pull/22.diff","patch_url":"https://github.com/ldevesine/cscibox/pull/22.patch","issue_url":"https://api.github.com/repos/ldevesine/cscibox/issues/22","number":22,"state":"closed","locked":false,"title":"Li pd","user":{"login":"bisraelsen","id":3248556,"avatar_url":"https://avatars.githubusercontent.com/u/3248556?v=3","gravatar_id":"","url":"https://api.github.com/users/bisraelsen","html_url":"https://github.com/bisraelsen","followers_url":"https://api.github.com/users/bisraelsen/followers","following_url":"https://api.github.com/users/bisraelsen/following{/other_user}","gists_url":"https://api.github.com/users/bisraelsen/gists{/gist_id}","starred_url":"https://api.github.com/users/bisraelsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bisraelsen/subscriptions","organizations_url":"https://api.github.com/users/bisraelsen/orgs","repos_url":"https://api.github.com/users/bisraelsen/repos","events_url":"https://api.github.com/users/bisraelsen/events{/privacy}","received_events_url":"https://api.github.com/users/bisraelsen/received_events","type":"User","site_admin":false},"body":"# Current Status\r\nThis branch is focused on adding the ability to export data to the LiPD format (see: [LiPD Writeup](https://www.authorea.com/users/17200/articles/19163/_show_article)).\r\n\r\nThis involved a few main things:\r\n\r\n1. creating a class `coremetadata.Core` (with several other sub/helper classes) to contain all of the metadata and to produce LiPD output on demand\r\n2. modifying the code in `io` to allow for the export of .csv's (close to the \"old way\") **and** the LiPD format\r\n3. Adding appropriate code to put the metadata into the metadata structure\r\n\r\nThis isn't *strictly* the LiPD format because it isn't using the `@context` key to link to namespace the .json file. At some point we should consider this addition but for now I think it is overkill considering the standard is still in development.\r\n\r\nThere are two example files in the `io` module that demonstrate how LiPD should work in its \"full glory\".\r\n\r\n# Recommendations for Future Work\r\nThere are a few items to be done in the future:\r\n\r\n1. Implement the full LiPD standard using linked-JSON namespacing\r\n2. Add capability to handle publication data (there is a file called `bibtex2bibjson.py` in the `io` module that should try to convert bibtex-style references into bibjson (which is very near to the final form required by LiPD)\r\n3. Add capability to export an entire core with all computation plans (not just the visible samples and CP's)\r\n4. Add ability to import from the LiPD export\r\n","created_at":"2015-08-20T17:32:58Z","updated_at":"2015-08-20T17:50:47Z","closed_at":"2015-08-20T17:50:47Z","merged_at":"2015-08-20T17:50:47Z","merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ldevesine/cscibox/pulls/22/commits","review_comments_url":"https://api.github.com/repos/ldevesine/cscibox/pulls/22/comments","review_comment_url":"https://api.github.com/repos/ldevesine/cscibox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ldevesine/cscibox/issues/22/comments","statuses_url":"https://api.github.com/repos/ldevesine/cscibox/statuses/932b14f444646d3e7ddcec10aa3f3d890a054114","head":{"label":"ldevesine:LiPD","ref":"LiPD","sha":"932b14f444646d3e7ddcec10aa3f3d890a054114","user":{"login":"ldevesine","id":382339,"avatar_url":"https://avatars.githubusercontent.com/u/382339?v=3","gravatar_id":"","url":"https://api.github.com/users/ldevesine","html_url":"https://github.com/ldevesine","followers_url":"https://api.github.com/users/ldevesine/followers","following_url":"https://api.github.com/users/ldevesine/following{/other_user}","gists_url":"https://api.github.com/users/ldevesine/gists{/gist_id}","starred_url":"https://api.github.com/users/ldevesine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldevesine/subscriptions","organizations_url":"https://api.github.com/users/ldevesine/orgs","repos_url":"https://api.github.com/users/ldevesine/repos","events_url":"https://api.github.com/users/ldevesine/events{/privacy}","received_events_url":"https://api.github.com/users/ldevesine/received_events","type":"User","site_admin":false},"repo":{"id":5689833,"name":"cscibox","full_name":"ldevesine/cscibox","owner":{"login":"ldevesine","id":382339,"avatar_url":"https://avatars.githubusercontent.com/u/382339?v=3","gravatar_id":"","url":"https://api.github.com/users/ldevesine","html_url":"https://github.com/ldevesine","followers_url":"https://api.github.com/users/ldevesine/followers","following_url":"https://api.github.com/users/ldevesine/following{/other_user}","gists_url":"https://api.github.com/users/ldevesine/gists{/gist_id}","starred_url":"https://api.github.com/users/ldevesine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldevesine/subscriptions","organizations_url":"https://api.github.com/users/ldevesine/orgs","repos_url":"https://api.github.com/users/ldevesine/repos","events_url":"https://api.github.com/users/ldevesine/events{/privacy}","received_events_url":"https://api.github.com/users/ldevesine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ldevesine/cscibox","description":"","fork":false,"url":"https://api.github.com/repos/ldevesine/cscibox","forks_url":"https://api.github.com/repos/ldevesine/cscibox/forks","keys_url":"https://api.github.com/repos/ldevesine/cscibox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ldevesine/cscibox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ldevesine/cscibox/teams","hooks_url":"https://api.github.com/repos/ldevesine/cscibox/hooks","issue_events_url":"https://api.github.com/repos/ldevesine/cscibox/issues/events{/number}","events_url":"https://api.github.com/repos/ldevesine/cscibox/events","assignees_url":"https://api.github.com/repos/ldevesine/cscibox/assignees{/user}","branches_url":"https://api.github.com/repos/ldevesine/cscibox/branches{/branch}","tags_url":"https://api.github.com/repos/ldevesine/cscibox/tags","blobs_url":"https://api.github.com/repos/ldevesine/cscibox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ldevesine/cscibox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ldevesine/cscibox/git/refs{/sha}","trees_url":"https://api.github.com/repos/ldevesine/cscibox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ldevesine/cscibox/statuses/{sha}","languages_url":"https://api.github.com/repos/ldevesine/cscibox/languages","stargazers_url":"https://api.github.com/repos/ldevesine/cscibox/stargazers","contributors_url":"https://api.github.com/repos/ldevesine/cscibox/contributors","subscribers_url":"https://api.github.com/repos/ldevesine/cscibox/subscribers","subscription_url":"https://api.github.com/repos/ldevesine/cscibox/subscription","commits_url":"https://api.github.com/repos/ldevesine/cscibox/commits{/sha}","git_commits_url":"https://api.github.com/repos/ldevesine/cscibox/git/commits{/sha}","comments_url":"https://api.github.com/repos/ldevesine/cscibox/comments{/number}","issue_comment_url":"https://api.github.com/repos/ldevesine/cscibox/issues/comments{/number}","contents_url":"https://api.github.com/repos/ldevesine/cscibox/contents/{+path}","compare_url":"https://api.github.com/repos/ldevesine/cscibox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ldevesine/cscibox/merges","archive_url":"https://api.github.com/repos/ldevesine/cscibox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ldevesine/cscibox/downloads","issues_url":"https://api.github.com/repos/ldevesine/cscibox/issues{/number}","pulls_url":"https://api.github.com/repos/ldevesine/cscibox/pulls{/number}","milestones_url":"https://api.github.com/repos/ldevesine/cscibox/milestones{/number}","notifications_url":"https://api.github.com/repos/ldevesine/cscibox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ldevesine/cscibox/labels{/name}","releases_url":"https://api.github.com/repos/ldevesine/cscibox/releases{/id}","created_at":"2012-09-05T16:18:32Z","updated_at":"2015-08-07T20:51:46Z","pushed_at":"2015-08-20T17:50:47Z","git_url":"git://github.com/ldevesine/cscibox.git","ssh_url":"git@github.com:ldevesine/cscibox.git","clone_url":"https://github.com/ldevesine/cscibox.git","svn_url":"https://github.com/ldevesine/cscibox","homepage":null,"size":54572,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":4,"default_branch":"master"}},"base":{"label":"ldevesine:master","ref":"master","sha":"1e7227118a9027f7b456069b439a9791844a7071","user":{"login":"ldevesine","id":382339,"avatar_url":"https://avatars.githubusercontent.com/u/382339?v=3","gravatar_id":"","url":"https://api.github.com/users/ldevesine","html_url":"https://github.com/ldevesine","followers_url":"https://api.github.com/users/ldevesine/followers","following_url":"https://api.github.com/users/ldevesine/following{/other_user}","gists_url":"https://api.github.com/users/ldevesine/gists{/gist_id}","starred_url":"https://api.github.com/users/ldevesine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldevesine/subscriptions","organizations_url":"https://api.github.com/users/ldevesine/orgs","repos_url":"https://api.github.com/users/ldevesine/repos","events_url":"https://api.github.com/users/ldevesine/events{/privacy}","received_events_url":"https://api.github.com/users/ldevesine/received_events","type":"User","site_admin":false},"repo":{"id":5689833,"name":"cscibox","full_name":"ldevesine/cscibox","owner":{"login":"ldevesine","id":382339,"avatar_url":"https://avatars.githubusercontent.com/u/382339?v=3","gravatar_id":"","url":"https://api.github.com/users/ldevesine","html_url":"https://github.com/ldevesine","followers_url":"https://api.github.com/users/ldevesine/followers","following_url":"https://api.github.com/users/ldevesine/following{/other_user}","gists_url":"https://api.github.com/users/ldevesine/gists{/gist_id}","starred_url":"https://api.github.com/users/ldevesine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldevesine/subscriptions","organizations_url":"https://api.github.com/users/ldevesine/orgs","repos_url":"https://api.github.com/users/ldevesine/repos","events_url":"https://api.github.com/users/ldevesine/events{/privacy}","received_events_url":"https://api.github.com/users/ldevesine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ldevesine/cscibox","description":"","fork":false,"url":"https://api.github.com/repos/ldevesine/cscibox","forks_url":"https://api.github.com/repos/ldevesine/cscibox/forks","keys_url":"https://api.github.com/repos/ldevesine/cscibox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ldevesine/cscibox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ldevesine/cscibox/teams","hooks_url":"https://api.github.com/repos/ldevesine/cscibox/hooks","issue_events_url":"https://api.github.com/repos/ldevesine/cscibox/issues/events{/number}","events_url":"https://api.github.com/repos/ldevesine/cscibox/events","assignees_url":"https://api.github.com/repos/ldevesine/cscibox/assignees{/user}","branches_url":"https://api.github.com/repos/ldevesine/cscibox/branches{/branch}","tags_url":"https://api.github.com/repos/ldevesine/cscibox/tags","blobs_url":"https://api.github.com/repos/ldevesine/cscibox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ldevesine/cscibox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ldevesine/cscibox/git/refs{/sha}","trees_url":"https://api.github.com/repos/ldevesine/cscibox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ldevesine/cscibox/statuses/{sha}","languages_url":"https://api.github.com/repos/ldevesine/cscibox/languages","stargazers_url":"https://api.github.com/repos/ldevesine/cscibox/stargazers","contributors_url":"https://api.github.com/repos/ldevesine/cscibox/contributors","subscribers_url":"https://api.github.com/repos/ldevesine/cscibox/subscribers","subscription_url":"https://api.github.com/repos/ldevesine/cscibox/subscription","commits_url":"https://api.github.com/repos/ldevesine/cscibox/commits{/sha}","git_commits_url":"https://api.github.com/repos/ldevesine/cscibox/git/commits{/sha}","comments_url":"https://api.github.com/repos/ldevesine/cscibox/comments{/number}","issue_comment_url":"https://api.github.com/repos/ldevesine/cscibox/issues/comments{/number}","contents_url":"https://api.github.com/repos/ldevesine/cscibox/contents/{+path}","compare_url":"https://api.github.com/repos/ldevesine/cscibox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ldevesine/cscibox/merges","archive_url":"https://api.github.com/repos/ldevesine/cscibox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ldevesine/cscibox/downloads","issues_url":"https://api.github.com/repos/ldevesine/cscibox/issues{/number}","pulls_url":"https://api.github.com/repos/ldevesine/cscibox/pulls{/number}","milestones_url":"https://api.github.com/repos/ldevesine/cscibox/milestones{/number}","notifications_url":"https://api.github.com/repos/ldevesine/cscibox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ldevesine/cscibox/labels{/name}","releases_url":"https://api.github.com/repos/ldevesine/cscibox/releases{/id}","created_at":"2012-09-05T16:18:32Z","updated_at":"2015-08-07T20:51:46Z","pushed_at":"2015-08-20T17:50:47Z","git_url":"git://github.com/ldevesine/cscibox.git","ssh_url":"git@github.com:ldevesine/cscibox.git","clone_url":"https://github.com/ldevesine/cscibox.git","svn_url":"https://github.com/ldevesine/cscibox","homepage":null,"size":54572,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ldevesine/cscibox/pulls/22"},"html":{"href":"https://github.com/ldevesine/cscibox/pull/22"},"issue":{"href":"https://api.github.com/repos/ldevesine/cscibox/issues/22"},"comments":{"href":"https://api.github.com/repos/ldevesine/cscibox/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/ldevesine/cscibox/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/ldevesine/cscibox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ldevesine/cscibox/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/ldevesine/cscibox/statuses/932b14f444646d3e7ddcec10aa3f3d890a054114"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bisraelsen","id":3248556,"avatar_url":"https://avatars.githubusercontent.com/u/3248556?v=3","gravatar_id":"","url":"https://api.github.com/users/bisraelsen","html_url":"https://github.com/bisraelsen","followers_url":"https://api.github.com/users/bisraelsen/followers","following_url":"https://api.github.com/users/bisraelsen/following{/other_user}","gists_url":"https://api.github.com/users/bisraelsen/gists{/gist_id}","starred_url":"https://api.github.com/users/bisraelsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bisraelsen/subscriptions","organizations_url":"https://api.github.com/users/bisraelsen/orgs","repos_url":"https://api.github.com/users/bisraelsen/repos","events_url":"https://api.github.com/users/bisraelsen/events{/privacy}","received_events_url":"https://api.github.com/users/bisraelsen/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":42,"additions":3834,"deletions":502,"changed_files":22}}