{"action":"created","comment":{"url":"https://api.github.com/repos/simphony/simphony-common/pulls/comments/23382751","id":23382751,"diff_hunk":"@@ -0,0 +1,476 @@\n+- description: Universal unique id\n+  domain: [ATM, DEM, FEM, FVM, LBM, SPH, VIS]\n+  key: ID\n+  name: Id\n+  number: 0\n+  shape: [16]\n+  type: string\n+- description: Naming of high-level objects (e.g. solver models)\n+  domain: [ATM, DEM, FEM, FVM, LBM, SPH, VIS]\n+  key: NAME\n+  name: Name\n+  number: 1\n+  shape: [20]\n+  type: string\n+- description: Position of a point or node or atom\n+  domain: [ATM, DEM, FEM, FVM, LBM, SPH, VIS]\n+  key: POSITION\n+  name: Position\n+  number: 2\n+  shape: [3]\n+  type: double\n+- description: Geometric (more general than, e.g., velocity) could be used for spin\n+  domain: [ATM, FEM, FVM, LBM, VIS]\n+  key: DIRECTION\n+  name: Direction\n+  number: 3\n+  shape: [3]\n+  type: double\n+- description: Status of a point or node\n+  domain: [DEM, LBM]\n+  key: STATUS\n+  name: Status\n+  number: 4\n+  shape: [1]\n+  type: integer\n+- description: Label for a point or node\n+  domain: [ATM, DEM, FEM, FVM, LBM, VIS]\n+  key: LABEL\n+  name: Label\n+  number: 5\n+  shape: [1]\n+  type: integer\n+- description: Material identification number\n+  domain: [DEM, FEM, FVM, LBM, SPH]\n+  key: MATERIAL_ID\n+  name: MaterialId\n+  number: 6\n+  shape: [1]\n+  type: integer\n+- description: Chemical Specie\n+  domain: [ATM, VIS]\n+  key: CHEMICAL_SPECIE\n+  name: Chemical Specie\n+  number: 7\n+  shape: [20]\n+  type: string\n+- description: Material dimension and type\n+  domain: [VIS]\n+  key: MATERIAL_TYPE\n+  name: MaterialType\n+  number: 8\n+  shape: [1]\n+  type: integer\n+- description: Geometrical center of the shape of the material\n+  domain: [VIS]\n+  key: SHAPE_CENTER\n+  name: ShapeCenter\n+  number: 9\n+  shape: [3]\n+  type: double\n+- description: Length in units cells of the shape of the material\n+  domain: [VIS]\n+  key: SHAPE_LENGTH_UC\n+  name: ShapeLengthUC\n+  number: 10\n+  shape: [3]\n+  type: double\n+- description: Length in angstroms of the shape of the materials\n+  domain: [VIS]\n+  key: SHAPE_LENGTH\n+  name: ShapeLength\n+  number: 11\n+  shape: [3]\n+  type: double\n+- description: Radio for a spherical material","path":"simphony/core/cuba.yml","position":null,"original_position":85,"commit_id":"7417f05b73f21c3444f38b57b7dcbc16f2c35a5c","original_commit_id":"e5f07e60bfb35eea945a51c2390d17e4aedf1777","user":{"login":"itziakos","id":403930,"avatar_url":"https://avatars.githubusercontent.com/u/403930?v=3","gravatar_id":"","url":"https://api.github.com/users/itziakos","html_url":"https://github.com/itziakos","followers_url":"https://api.github.com/users/itziakos/followers","following_url":"https://api.github.com/users/itziakos/following{/other_user}","gists_url":"https://api.github.com/users/itziakos/gists{/gist_id}","starred_url":"https://api.github.com/users/itziakos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itziakos/subscriptions","organizations_url":"https://api.github.com/users/itziakos/orgs","repos_url":"https://api.github.com/users/itziakos/repos","events_url":"https://api.github.com/users/itziakos/events{/privacy}","received_events_url":"https://api.github.com/users/itziakos/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2015-01-22T15:27:58Z","updated_at":"2015-01-22T15:27:58Z","html_url":"https://github.com/simphony/simphony-common/pull/31#discussion_r23382751","pull_request_url":"https://api.github.com/repos/simphony/simphony-common/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/simphony/simphony-common/pulls/comments/23382751"},"html":{"href":"https://github.com/simphony/simphony-common/pull/31#discussion_r23382751"},"pull_request":{"href":"https://api.github.com/repos/simphony/simphony-common/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/simphony/simphony-common/pulls/31","id":26391145,"html_url":"https://github.com/simphony/simphony-common/pull/31","diff_url":"https://github.com/simphony/simphony-common/pull/31.diff","patch_url":"https://github.com/simphony/simphony-common/pull/31.patch","issue_url":"https://api.github.com/repos/simphony/simphony-common/issues/31","number":31,"state":"open","locked":false,"title":"io support for data container","user":{"login":"itziakos","id":403930,"avatar_url":"https://avatars.githubusercontent.com/u/403930?v=3","gravatar_id":"","url":"https://api.github.com/users/itziakos","html_url":"https://github.com/itziakos","followers_url":"https://api.github.com/users/itziakos/followers","following_url":"https://api.github.com/users/itziakos/following{/other_user}","gists_url":"https://api.github.com/users/itziakos/gists{/gist_id}","starred_url":"https://api.github.com/users/itziakos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itziakos/subscriptions","organizations_url":"https://api.github.com/users/itziakos/orgs","repos_url":"https://api.github.com/users/itziakos/repos","events_url":"https://api.github.com/users/itziakos/events{/privacy}","received_events_url":"https://api.github.com/users/itziakos/received_events","type":"User","site_admin":false},"body":"This a  PR contains the io support for the data container items\r\n\r\nIn more detail:\r\n- `DataContainer`s are saved in a hdf5 table node which contains a nested column for the key/data values and a column masking out the invalid keywords. The records are mapped using uuids.\r\n- The list of the CUBA keywords is now provided in yaml format so that it is easy to be edited by users and at the same time can be easily loaded into scripts for code generation.\r\n- A code generator script is (i.e. cuba-generate) provided to generate the `CUBA` enum class used in `DataContainer` and the `Data` table description used in the new `DataContainerTable` class.\r\n\r\n**Pending**:\r\n- [x] Finish the DataContainerTable\r\n- [x] Update the setup.py and include any new requirements\r\n- [x] Provide a benchmarking script for the DataContainerTable.\r\n- [x] Cleanup\r\n\r\n**Notes**:\r\n- Missing CUBA keywords were added, but the CUBA keyword correspondence to integers has changed.\r\n\r\n\r\n","created_at":"2014-12-19T18:53:36Z","updated_at":"2015-01-22T15:27:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c22b91cb4168b1dec0e6bae5507e61a2fd7fd31b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/simphony/simphony-common/pulls/31/commits","review_comments_url":"https://api.github.com/repos/simphony/simphony-common/pulls/31/comments","review_comment_url":"https://api.github.com/repos/simphony/simphony-common/pulls/comments/{number}","comments_url":"https://api.github.com/repos/simphony/simphony-common/issues/31/comments","statuses_url":"https://api.github.com/repos/simphony/simphony-common/statuses/7417f05b73f21c3444f38b57b7dcbc16f2c35a5c","head":{"label":"simphony:io-support-for-data-container","ref":"io-support-for-data-container","sha":"7417f05b73f21c3444f38b57b7dcbc16f2c35a5c","user":{"login":"simphony","id":8048249,"avatar_url":"https://avatars.githubusercontent.com/u/8048249?v=3","gravatar_id":"","url":"https://api.github.com/users/simphony","html_url":"https://github.com/simphony","followers_url":"https://api.github.com/users/simphony/followers","following_url":"https://api.github.com/users/simphony/following{/other_user}","gists_url":"https://api.github.com/users/simphony/gists{/gist_id}","starred_url":"https://api.github.com/users/simphony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simphony/subscriptions","organizations_url":"https://api.github.com/users/simphony/orgs","repos_url":"https://api.github.com/users/simphony/repos","events_url":"https://api.github.com/users/simphony/events{/privacy}","received_events_url":"https://api.github.com/users/simphony/received_events","type":"Organization","site_admin":false},"repo":{"id":22651892,"name":"simphony-common","full_name":"simphony/simphony-common","owner":{"login":"simphony","id":8048249,"avatar_url":"https://avatars.githubusercontent.com/u/8048249?v=3","gravatar_id":"","url":"https://api.github.com/users/simphony","html_url":"https://github.com/simphony","followers_url":"https://api.github.com/users/simphony/followers","following_url":"https://api.github.com/users/simphony/following{/other_user}","gists_url":"https://api.github.com/users/simphony/gists{/gist_id}","starred_url":"https://api.github.com/users/simphony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simphony/subscriptions","organizations_url":"https://api.github.com/users/simphony/orgs","repos_url":"https://api.github.com/users/simphony/repos","events_url":"https://api.github.com/users/simphony/events{/privacy}","received_events_url":"https://api.github.com/users/simphony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/simphony/simphony-common","description":"The native implementation of the Simphony cuds objects","fork":false,"url":"https://api.github.com/repos/simphony/simphony-common","forks_url":"https://api.github.com/repos/simphony/simphony-common/forks","keys_url":"https://api.github.com/repos/simphony/simphony-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simphony/simphony-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simphony/simphony-common/teams","hooks_url":"https://api.github.com/repos/simphony/simphony-common/hooks","issue_events_url":"https://api.github.com/repos/simphony/simphony-common/issues/events{/number}","events_url":"https://api.github.com/repos/simphony/simphony-common/events","assignees_url":"https://api.github.com/repos/simphony/simphony-common/assignees{/user}","branches_url":"https://api.github.com/repos/simphony/simphony-common/branches{/branch}","tags_url":"https://api.github.com/repos/simphony/simphony-common/tags","blobs_url":"https://api.github.com/repos/simphony/simphony-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simphony/simphony-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simphony/simphony-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/simphony/simphony-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simphony/simphony-common/statuses/{sha}","languages_url":"https://api.github.com/repos/simphony/simphony-common/languages","stargazers_url":"https://api.github.com/repos/simphony/simphony-common/stargazers","contributors_url":"https://api.github.com/repos/simphony/simphony-common/contributors","subscribers_url":"https://api.github.com/repos/simphony/simphony-common/subscribers","subscription_url":"https://api.github.com/repos/simphony/simphony-common/subscription","commits_url":"https://api.github.com/repos/simphony/simphony-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/simphony/simphony-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/simphony/simphony-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/simphony/simphony-common/issues/comments/{number}","contents_url":"https://api.github.com/repos/simphony/simphony-common/contents/{+path}","compare_url":"https://api.github.com/repos/simphony/simphony-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simphony/simphony-common/merges","archive_url":"https://api.github.com/repos/simphony/simphony-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simphony/simphony-common/downloads","issues_url":"https://api.github.com/repos/simphony/simphony-common/issues{/number}","pulls_url":"https://api.github.com/repos/simphony/simphony-common/pulls{/number}","milestones_url":"https://api.github.com/repos/simphony/simphony-common/milestones{/number}","notifications_url":"https://api.github.com/repos/simphony/simphony-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simphony/simphony-common/labels{/name}","releases_url":"https://api.github.com/repos/simphony/simphony-common/releases{/id}","created_at":"2014-08-05T17:05:12Z","updated_at":"2015-01-21T16:27:39Z","pushed_at":"2015-01-22T15:27:40Z","git_url":"git://github.com/simphony/simphony-common.git","ssh_url":"git@github.com:simphony/simphony-common.git","clone_url":"https://github.com/simphony/simphony-common.git","svn_url":"https://github.com/simphony/simphony-common","homepage":null,"size":9238,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":20,"forks":3,"open_issues":20,"watchers":5,"default_branch":"master"}},"base":{"label":"simphony:master","ref":"master","sha":"68e06f9cd143552d814fbb7a18f5b79bd62c7e54","user":{"login":"simphony","id":8048249,"avatar_url":"https://avatars.githubusercontent.com/u/8048249?v=3","gravatar_id":"","url":"https://api.github.com/users/simphony","html_url":"https://github.com/simphony","followers_url":"https://api.github.com/users/simphony/followers","following_url":"https://api.github.com/users/simphony/following{/other_user}","gists_url":"https://api.github.com/users/simphony/gists{/gist_id}","starred_url":"https://api.github.com/users/simphony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simphony/subscriptions","organizations_url":"https://api.github.com/users/simphony/orgs","repos_url":"https://api.github.com/users/simphony/repos","events_url":"https://api.github.com/users/simphony/events{/privacy}","received_events_url":"https://api.github.com/users/simphony/received_events","type":"Organization","site_admin":false},"repo":{"id":22651892,"name":"simphony-common","full_name":"simphony/simphony-common","owner":{"login":"simphony","id":8048249,"avatar_url":"https://avatars.githubusercontent.com/u/8048249?v=3","gravatar_id":"","url":"https://api.github.com/users/simphony","html_url":"https://github.com/simphony","followers_url":"https://api.github.com/users/simphony/followers","following_url":"https://api.github.com/users/simphony/following{/other_user}","gists_url":"https://api.github.com/users/simphony/gists{/gist_id}","starred_url":"https://api.github.com/users/simphony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simphony/subscriptions","organizations_url":"https://api.github.com/users/simphony/orgs","repos_url":"https://api.github.com/users/simphony/repos","events_url":"https://api.github.com/users/simphony/events{/privacy}","received_events_url":"https://api.github.com/users/simphony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/simphony/simphony-common","description":"The native implementation of the Simphony cuds objects","fork":false,"url":"https://api.github.com/repos/simphony/simphony-common","forks_url":"https://api.github.com/repos/simphony/simphony-common/forks","keys_url":"https://api.github.com/repos/simphony/simphony-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simphony/simphony-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simphony/simphony-common/teams","hooks_url":"https://api.github.com/repos/simphony/simphony-common/hooks","issue_events_url":"https://api.github.com/repos/simphony/simphony-common/issues/events{/number}","events_url":"https://api.github.com/repos/simphony/simphony-common/events","assignees_url":"https://api.github.com/repos/simphony/simphony-common/assignees{/user}","branches_url":"https://api.github.com/repos/simphony/simphony-common/branches{/branch}","tags_url":"https://api.github.com/repos/simphony/simphony-common/tags","blobs_url":"https://api.github.com/repos/simphony/simphony-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simphony/simphony-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simphony/simphony-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/simphony/simphony-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simphony/simphony-common/statuses/{sha}","languages_url":"https://api.github.com/repos/simphony/simphony-common/languages","stargazers_url":"https://api.github.com/repos/simphony/simphony-common/stargazers","contributors_url":"https://api.github.com/repos/simphony/simphony-common/contributors","subscribers_url":"https://api.github.com/repos/simphony/simphony-common/subscribers","subscription_url":"https://api.github.com/repos/simphony/simphony-common/subscription","commits_url":"https://api.github.com/repos/simphony/simphony-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/simphony/simphony-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/simphony/simphony-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/simphony/simphony-common/issues/comments/{number}","contents_url":"https://api.github.com/repos/simphony/simphony-common/contents/{+path}","compare_url":"https://api.github.com/repos/simphony/simphony-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simphony/simphony-common/merges","archive_url":"https://api.github.com/repos/simphony/simphony-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simphony/simphony-common/downloads","issues_url":"https://api.github.com/repos/simphony/simphony-common/issues{/number}","pulls_url":"https://api.github.com/repos/simphony/simphony-common/pulls{/number}","milestones_url":"https://api.github.com/repos/simphony/simphony-common/milestones{/number}","notifications_url":"https://api.github.com/repos/simphony/simphony-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simphony/simphony-common/labels{/name}","releases_url":"https://api.github.com/repos/simphony/simphony-common/releases{/id}","created_at":"2014-08-05T17:05:12Z","updated_at":"2015-01-21T16:27:39Z","pushed_at":"2015-01-22T15:27:40Z","git_url":"git://github.com/simphony/simphony-common.git","ssh_url":"git@github.com:simphony/simphony-common.git","clone_url":"https://github.com/simphony/simphony-common.git","svn_url":"https://github.com/simphony/simphony-common","homepage":null,"size":9238,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":20,"forks":3,"open_issues":20,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/simphony/simphony-common/pulls/31"},"html":{"href":"https://github.com/simphony/simphony-common/pull/31"},"issue":{"href":"https://api.github.com/repos/simphony/simphony-common/issues/31"},"comments":{"href":"https://api.github.com/repos/simphony/simphony-common/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/simphony/simphony-common/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/simphony/simphony-common/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/simphony/simphony-common/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/simphony/simphony-common/statuses/7417f05b73f21c3444f38b57b7dcbc16f2c35a5c"}}}}