{"action":"created","comment":{"url":"https://api.github.com/repos/majroy/pyCM/pulls/comments/174868623","pull_request_review_id":104306157,"id":174868623,"diff_hunk":"@@ -0,0 +1,640 @@\n+\"\"\"\n+Uses VTK python to allow for postprocessing FEAs associated with the\n+ contour method. Full interaction requires a 3-button mouse and keyboard.\n+-------------------------------------------------------------------------------\n+Current mapping is as follows:\n+LMB   - rotate about point cloud centroid.\n+MMB   - pan\n+RMB   - zoom\n+1     - view 1, default, looks down z axis onto xy plane\n+2     - view 2, looks down x axis onto zy plane\n+3     - view 3, looks down y axis onto zx plane\n+z     - increase z-aspect ratio of displacement BC\n+x     - decrease z-aspect ratio of displacement BC\n+c     - return to default z-aspect\n+f     - flip colors from white on dark to dark on white\n+i     - save output to .png in current working directory\n+r     - remove/reinstate compass/axes\n+o     - remove/reinstate outline\n+LMB+p - The p button with the Left mouse button allow\n+        for selecting rigid body boundary conditions.\n+        Click first and then press p to select.\n+e     - allows the user to change their FEA exec location\n+-------------------------------------------------------------------------------\n+ver 0.1 17-10-20\n+\"\"\"\n+\n+import sys\n+import vtk\n+import pandas","path":"pyCM/postprocess.py","position":29,"original_position":29,"commit_id":"0fad8ba57411994c68916e7528a968154fb20b5e","original_commit_id":"0fad8ba57411994c68916e7528a968154fb20b5e","user":{"login":"majroy","id":4645426,"avatar_url":"https://avatars2.githubusercontent.com/u/4645426?v=4","gravatar_id":"","url":"https://api.github.com/users/majroy","html_url":"https://github.com/majroy","followers_url":"https://api.github.com/users/majroy/followers","following_url":"https://api.github.com/users/majroy/following{/other_user}","gists_url":"https://api.github.com/users/majroy/gists{/gist_id}","starred_url":"https://api.github.com/users/majroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majroy/subscriptions","organizations_url":"https://api.github.com/users/majroy/orgs","repos_url":"https://api.github.com/users/majroy/repos","events_url":"https://api.github.com/users/majroy/events{/privacy}","received_events_url":"https://api.github.com/users/majroy/received_events","type":"User","site_admin":false},"body":"Pandas isn't listed as a requirement. Do you need it?","created_at":"2018-03-15T17:35:50Z","updated_at":"2018-03-15T17:35:50Z","html_url":"https://github.com/majroy/pyCM/pull/2#discussion_r174868623","pull_request_url":"https://api.github.com/repos/majroy/pyCM/pulls/2","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/majroy/pyCM/pulls/comments/174868623"},"html":{"href":"https://github.com/majroy/pyCM/pull/2#discussion_r174868623"},"pull_request":{"href":"https://api.github.com/repos/majroy/pyCM/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/majroy/pyCM/pulls/2","id":172512065,"html_url":"https://github.com/majroy/pyCM/pull/2","diff_url":"https://github.com/majroy/pyCM/pull/2.diff","patch_url":"https://github.com/majroy/pyCM/pull/2.patch","issue_url":"https://api.github.com/repos/majroy/pyCM/issues/2","number":2,"state":"open","locked":false,"title":"Postprocess","user":{"login":"NikStoyanov","id":28645743,"avatar_url":"https://avatars1.githubusercontent.com/u/28645743?v=4","gravatar_id":"","url":"https://api.github.com/users/NikStoyanov","html_url":"https://github.com/NikStoyanov","followers_url":"https://api.github.com/users/NikStoyanov/followers","following_url":"https://api.github.com/users/NikStoyanov/following{/other_user}","gists_url":"https://api.github.com/users/NikStoyanov/gists{/gist_id}","starred_url":"https://api.github.com/users/NikStoyanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikStoyanov/subscriptions","organizations_url":"https://api.github.com/users/NikStoyanov/orgs","repos_url":"https://api.github.com/users/NikStoyanov/repos","events_url":"https://api.github.com/users/NikStoyanov/events{/privacy}","received_events_url":"https://api.github.com/users/NikStoyanov/received_events","type":"User","site_admin":false},"body":"Hi Matt,\r\n\r\nI have finished the postprocessing module. Currently I am carrying out checks to see if the stress is extrapolated correctly by comparing with ABAQUS, however, I am sending this now if you want to have a look as well. In the pull there is a rudimentary documentation and the data that I used.\r\n\r\nThere is one issue with vtk, when the results are loaded upon rotation it seems to cut the part off - I am looking into why it is doing it.\r\n\r\nFinally, this version uses legacy files - xml is on the way.\r\n\r\nCheers,\r\nNik","created_at":"2018-03-02T14:11:31Z","updated_at":"2018-03-15T17:35:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3f1060c5da448b5a3c21e83eabd3f7f73c8b286f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/majroy/pyCM/pulls/2/commits","review_comments_url":"https://api.github.com/repos/majroy/pyCM/pulls/2/comments","review_comment_url":"https://api.github.com/repos/majroy/pyCM/pulls/comments{/number}","comments_url":"https://api.github.com/repos/majroy/pyCM/issues/2/comments","statuses_url":"https://api.github.com/repos/majroy/pyCM/statuses/0fad8ba57411994c68916e7528a968154fb20b5e","head":{"label":"NikStoyanov:Postprocess","ref":"Postprocess","sha":"0fad8ba57411994c68916e7528a968154fb20b5e","user":{"login":"NikStoyanov","id":28645743,"avatar_url":"https://avatars1.githubusercontent.com/u/28645743?v=4","gravatar_id":"","url":"https://api.github.com/users/NikStoyanov","html_url":"https://github.com/NikStoyanov","followers_url":"https://api.github.com/users/NikStoyanov/followers","following_url":"https://api.github.com/users/NikStoyanov/following{/other_user}","gists_url":"https://api.github.com/users/NikStoyanov/gists{/gist_id}","starred_url":"https://api.github.com/users/NikStoyanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikStoyanov/subscriptions","organizations_url":"https://api.github.com/users/NikStoyanov/orgs","repos_url":"https://api.github.com/users/NikStoyanov/repos","events_url":"https://api.github.com/users/NikStoyanov/events{/privacy}","received_events_url":"https://api.github.com/users/NikStoyanov/received_events","type":"User","site_admin":false},"repo":{"id":121991501,"name":"pyCM","full_name":"NikStoyanov/pyCM","owner":{"login":"NikStoyanov","id":28645743,"avatar_url":"https://avatars1.githubusercontent.com/u/28645743?v=4","gravatar_id":"","url":"https://api.github.com/users/NikStoyanov","html_url":"https://github.com/NikStoyanov","followers_url":"https://api.github.com/users/NikStoyanov/followers","following_url":"https://api.github.com/users/NikStoyanov/following{/other_user}","gists_url":"https://api.github.com/users/NikStoyanov/gists{/gist_id}","starred_url":"https://api.github.com/users/NikStoyanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikStoyanov/subscriptions","organizations_url":"https://api.github.com/users/NikStoyanov/orgs","repos_url":"https://api.github.com/users/NikStoyanov/repos","events_url":"https://api.github.com/users/NikStoyanov/events{/privacy}","received_events_url":"https://api.github.com/users/NikStoyanov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NikStoyanov/pyCM","description":"A collection of visualization and data processing tools written in Python for performing the contour method for determining residual stress","fork":true,"url":"https://api.github.com/repos/NikStoyanov/pyCM","forks_url":"https://api.github.com/repos/NikStoyanov/pyCM/forks","keys_url":"https://api.github.com/repos/NikStoyanov/pyCM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NikStoyanov/pyCM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NikStoyanov/pyCM/teams","hooks_url":"https://api.github.com/repos/NikStoyanov/pyCM/hooks","issue_events_url":"https://api.github.com/repos/NikStoyanov/pyCM/issues/events{/number}","events_url":"https://api.github.com/repos/NikStoyanov/pyCM/events","assignees_url":"https://api.github.com/repos/NikStoyanov/pyCM/assignees{/user}","branches_url":"https://api.github.com/repos/NikStoyanov/pyCM/branches{/branch}","tags_url":"https://api.github.com/repos/NikStoyanov/pyCM/tags","blobs_url":"https://api.github.com/repos/NikStoyanov/pyCM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NikStoyanov/pyCM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NikStoyanov/pyCM/git/refs{/sha}","trees_url":"https://api.github.com/repos/NikStoyanov/pyCM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NikStoyanov/pyCM/statuses/{sha}","languages_url":"https://api.github.com/repos/NikStoyanov/pyCM/languages","stargazers_url":"https://api.github.com/repos/NikStoyanov/pyCM/stargazers","contributors_url":"https://api.github.com/repos/NikStoyanov/pyCM/contributors","subscribers_url":"https://api.github.com/repos/NikStoyanov/pyCM/subscribers","subscription_url":"https://api.github.com/repos/NikStoyanov/pyCM/subscription","commits_url":"https://api.github.com/repos/NikStoyanov/pyCM/commits{/sha}","git_commits_url":"https://api.github.com/repos/NikStoyanov/pyCM/git/commits{/sha}","comments_url":"https://api.github.com/repos/NikStoyanov/pyCM/comments{/number}","issue_comment_url":"https://api.github.com/repos/NikStoyanov/pyCM/issues/comments{/number}","contents_url":"https://api.github.com/repos/NikStoyanov/pyCM/contents/{+path}","compare_url":"https://api.github.com/repos/NikStoyanov/pyCM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NikStoyanov/pyCM/merges","archive_url":"https://api.github.com/repos/NikStoyanov/pyCM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NikStoyanov/pyCM/downloads","issues_url":"https://api.github.com/repos/NikStoyanov/pyCM/issues{/number}","pulls_url":"https://api.github.com/repos/NikStoyanov/pyCM/pulls{/number}","milestones_url":"https://api.github.com/repos/NikStoyanov/pyCM/milestones{/number}","notifications_url":"https://api.github.com/repos/NikStoyanov/pyCM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NikStoyanov/pyCM/labels{/name}","releases_url":"https://api.github.com/repos/NikStoyanov/pyCM/releases{/id}","deployments_url":"https://api.github.com/repos/NikStoyanov/pyCM/deployments","created_at":"2018-02-18T21:17:02Z","updated_at":"2018-02-18T21:17:04Z","pushed_at":"2018-03-02T14:05:17Z","git_url":"git://github.com/NikStoyanov/pyCM.git","ssh_url":"git@github.com:NikStoyanov/pyCM.git","clone_url":"https://github.com/NikStoyanov/pyCM.git","svn_url":"https://github.com/NikStoyanov/pyCM","homepage":"http://www.contour-method.manchester.ac.uk/","size":16809,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"majroy:master","ref":"master","sha":"f1dac5bafe874fdce30251f3a4155237f51fb3e4","user":{"login":"majroy","id":4645426,"avatar_url":"https://avatars2.githubusercontent.com/u/4645426?v=4","gravatar_id":"","url":"https://api.github.com/users/majroy","html_url":"https://github.com/majroy","followers_url":"https://api.github.com/users/majroy/followers","following_url":"https://api.github.com/users/majroy/following{/other_user}","gists_url":"https://api.github.com/users/majroy/gists{/gist_id}","starred_url":"https://api.github.com/users/majroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majroy/subscriptions","organizations_url":"https://api.github.com/users/majroy/orgs","repos_url":"https://api.github.com/users/majroy/repos","events_url":"https://api.github.com/users/majroy/events{/privacy}","received_events_url":"https://api.github.com/users/majroy/received_events","type":"User","site_admin":false},"repo":{"id":55301299,"name":"pyCM","full_name":"majroy/pyCM","owner":{"login":"majroy","id":4645426,"avatar_url":"https://avatars2.githubusercontent.com/u/4645426?v=4","gravatar_id":"","url":"https://api.github.com/users/majroy","html_url":"https://github.com/majroy","followers_url":"https://api.github.com/users/majroy/followers","following_url":"https://api.github.com/users/majroy/following{/other_user}","gists_url":"https://api.github.com/users/majroy/gists{/gist_id}","starred_url":"https://api.github.com/users/majroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majroy/subscriptions","organizations_url":"https://api.github.com/users/majroy/orgs","repos_url":"https://api.github.com/users/majroy/repos","events_url":"https://api.github.com/users/majroy/events{/privacy}","received_events_url":"https://api.github.com/users/majroy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/majroy/pyCM","description":"A collection of visualization and data processing tools written in Python for performing the contour method for determining residual stress","fork":false,"url":"https://api.github.com/repos/majroy/pyCM","forks_url":"https://api.github.com/repos/majroy/pyCM/forks","keys_url":"https://api.github.com/repos/majroy/pyCM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/majroy/pyCM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/majroy/pyCM/teams","hooks_url":"https://api.github.com/repos/majroy/pyCM/hooks","issue_events_url":"https://api.github.com/repos/majroy/pyCM/issues/events{/number}","events_url":"https://api.github.com/repos/majroy/pyCM/events","assignees_url":"https://api.github.com/repos/majroy/pyCM/assignees{/user}","branches_url":"https://api.github.com/repos/majroy/pyCM/branches{/branch}","tags_url":"https://api.github.com/repos/majroy/pyCM/tags","blobs_url":"https://api.github.com/repos/majroy/pyCM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/majroy/pyCM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/majroy/pyCM/git/refs{/sha}","trees_url":"https://api.github.com/repos/majroy/pyCM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/majroy/pyCM/statuses/{sha}","languages_url":"https://api.github.com/repos/majroy/pyCM/languages","stargazers_url":"https://api.github.com/repos/majroy/pyCM/stargazers","contributors_url":"https://api.github.com/repos/majroy/pyCM/contributors","subscribers_url":"https://api.github.com/repos/majroy/pyCM/subscribers","subscription_url":"https://api.github.com/repos/majroy/pyCM/subscription","commits_url":"https://api.github.com/repos/majroy/pyCM/commits{/sha}","git_commits_url":"https://api.github.com/repos/majroy/pyCM/git/commits{/sha}","comments_url":"https://api.github.com/repos/majroy/pyCM/comments{/number}","issue_comment_url":"https://api.github.com/repos/majroy/pyCM/issues/comments{/number}","contents_url":"https://api.github.com/repos/majroy/pyCM/contents/{+path}","compare_url":"https://api.github.com/repos/majroy/pyCM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/majroy/pyCM/merges","archive_url":"https://api.github.com/repos/majroy/pyCM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/majroy/pyCM/downloads","issues_url":"https://api.github.com/repos/majroy/pyCM/issues{/number}","pulls_url":"https://api.github.com/repos/majroy/pyCM/pulls{/number}","milestones_url":"https://api.github.com/repos/majroy/pyCM/milestones{/number}","notifications_url":"https://api.github.com/repos/majroy/pyCM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/majroy/pyCM/labels{/name}","releases_url":"https://api.github.com/repos/majroy/pyCM/releases{/id}","deployments_url":"https://api.github.com/repos/majroy/pyCM/deployments","created_at":"2016-04-02T15:20:05Z","updated_at":"2017-02-26T03:31:23Z","pushed_at":"2018-03-02T14:11:32Z","git_url":"git://github.com/majroy/pyCM.git","ssh_url":"git@github.com:majroy/pyCM.git","clone_url":"https://github.com/majroy/pyCM.git","svn_url":"https://github.com/majroy/pyCM","homepage":"http://www.contour-method.manchester.ac.uk/","size":5496,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":2,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/majroy/pyCM/pulls/2"},"html":{"href":"https://github.com/majroy/pyCM/pull/2"},"issue":{"href":"https://api.github.com/repos/majroy/pyCM/issues/2"},"comments":{"href":"https://api.github.com/repos/majroy/pyCM/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/majroy/pyCM/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/majroy/pyCM/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/majroy/pyCM/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/majroy/pyCM/statuses/0fad8ba57411994c68916e7528a968154fb20b5e"}},"author_association":"NONE"}}
{"actor":{"display_login":"majroy"}}