{"action":"created","comment":{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/pulls/comments/55653883","id":55653883,"diff_hunk":"@@ -243,6 +243,26 @@ def test_check_coordinate_limits_max(self):\n         assert_raises(ValueError, u.atoms.write, self.outfile)\n         del u\n \n+    @attr('issue')\n+    def test_check_header_title_multiframe(self):\n+        \"\"\"Check whether HEADER and TITLE are written just once in a multi-\n+        frame PDB file (Issue 741)\"\"\"\n+        u = mda.Universe(PSF, DCD, permissive=True)\n+        protein = u.select_atoms(\"protein and name CA\")\n+        pdb = mda.Writer(self.outfile, multiframe=True)\n+        for ts in u.trajectory[:5]:\n+            pdb.write(u)\n+        pdb.close()\n+        u2 = mda.Universe(self.outfile)\n+        if u2.trajectory.header:","path":"testsuite/MDAnalysisTests/coordinates/test_pdb.py","position":15,"original_position":15,"commit_id":"8fea0dbaa4335d98a0214bb224768ac42388026c","original_commit_id":"8fea0dbaa4335d98a0214bb224768ac42388026c","user":{"login":"kain88-de","id":4302678,"avatar_url":"https://avatars.githubusercontent.com/u/4302678?v=3","gravatar_id":"","url":"https://api.github.com/users/kain88-de","html_url":"https://github.com/kain88-de","followers_url":"https://api.github.com/users/kain88-de/followers","following_url":"https://api.github.com/users/kain88-de/following{/other_user}","gists_url":"https://api.github.com/users/kain88-de/gists{/gist_id}","starred_url":"https://api.github.com/users/kain88-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kain88-de/subscriptions","organizations_url":"https://api.github.com/users/kain88-de/orgs","repos_url":"https://api.github.com/users/kain88-de/repos","events_url":"https://api.github.com/users/kain88-de/events{/privacy}","received_events_url":"https://api.github.com/users/kain88-de/received_events","type":"User","site_admin":false},"body":"This test can't check if the `HEADER` record appears multiple times in a PDB. The entry in that member.variable is always a string. You can check with this [test.pdb](https://gist.github.com/kain88-de/1626b3a3d680cde8fb69) that `trajectory.header` has only one entry.","created_at":"2016-03-10T09:36:23Z","updated_at":"2016-03-10T09:36:23Z","html_url":"https://github.com/MDAnalysis/mdanalysis/pull/761#discussion_r55653883","pull_request_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/pulls/761","_links":{"self":{"href":"https://api.github.com/repos/MDAnalysis/mdanalysis/pulls/comments/55653883"},"html":{"href":"https://github.com/MDAnalysis/mdanalysis/pull/761#discussion_r55653883"},"pull_request":{"href":"https://api.github.com/repos/MDAnalysis/mdanalysis/pulls/761"}}},"pull_request":{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/pulls/761","id":62265931,"html_url":"https://github.com/MDAnalysis/mdanalysis/pull/761","diff_url":"https://github.com/MDAnalysis/mdanalysis/pull/761.diff","patch_url":"https://github.com/MDAnalysis/mdanalysis/pull/761.patch","issue_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/761","number":761,"state":"open","locked":false,"title":"removed HEADER and TITLE from each model except first","user":{"login":"abhinavgupta94","id":5422228,"avatar_url":"https://avatars.githubusercontent.com/u/5422228?v=3","gravatar_id":"","url":"https://api.github.com/users/abhinavgupta94","html_url":"https://github.com/abhinavgupta94","followers_url":"https://api.github.com/users/abhinavgupta94/followers","following_url":"https://api.github.com/users/abhinavgupta94/following{/other_user}","gists_url":"https://api.github.com/users/abhinavgupta94/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinavgupta94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinavgupta94/subscriptions","organizations_url":"https://api.github.com/users/abhinavgupta94/orgs","repos_url":"https://api.github.com/users/abhinavgupta94/repos","events_url":"https://api.github.com/users/abhinavgupta94/events{/privacy}","received_events_url":"https://api.github.com/users/abhinavgupta94/received_events","type":"User","site_admin":false},"body":"Fixes #741 \r\n\r\nChanges made in this Pull Request:\r\n - added condition for HEADER and TITLE to be written for the first frame only\r\n\r\nPR Checklist\r\n------------\r\n - [x] Tests?\r\n - [] Docs?\r\n - [x] CHANGELOG updated?\r\n - [x] Issue raised/referenced?\r\n\r\n","created_at":"2016-03-09T17:33:56Z","updated_at":"2016-03-10T09:36:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b640a49f29d2a22a3e2472e819aba310f2a0712d","assignee":{"login":"kain88-de","id":4302678,"avatar_url":"https://avatars.githubusercontent.com/u/4302678?v=3","gravatar_id":"","url":"https://api.github.com/users/kain88-de","html_url":"https://github.com/kain88-de","followers_url":"https://api.github.com/users/kain88-de/followers","following_url":"https://api.github.com/users/kain88-de/following{/other_user}","gists_url":"https://api.github.com/users/kain88-de/gists{/gist_id}","starred_url":"https://api.github.com/users/kain88-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kain88-de/subscriptions","organizations_url":"https://api.github.com/users/kain88-de/orgs","repos_url":"https://api.github.com/users/kain88-de/repos","events_url":"https://api.github.com/users/kain88-de/events{/privacy}","received_events_url":"https://api.github.com/users/kain88-de/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/milestones/8","html_url":"https://github.com/MDAnalysis/mdanalysis/milestones/0.15.0","labels_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/milestones/8/labels","id":1591417,"number":8,"title":"0.15.0","description":"Bugfixes and deprecation warning additions for 0.14 release.","creator":{"login":"dotsdl","id":1326811,"avatar_url":"https://avatars.githubusercontent.com/u/1326811?v=3","gravatar_id":"","url":"https://api.github.com/users/dotsdl","html_url":"https://github.com/dotsdl","followers_url":"https://api.github.com/users/dotsdl/followers","following_url":"https://api.github.com/users/dotsdl/following{/other_user}","gists_url":"https://api.github.com/users/dotsdl/gists{/gist_id}","starred_url":"https://api.github.com/users/dotsdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotsdl/subscriptions","organizations_url":"https://api.github.com/users/dotsdl/orgs","repos_url":"https://api.github.com/users/dotsdl/repos","events_url":"https://api.github.com/users/dotsdl/events{/privacy}","received_events_url":"https://api.github.com/users/dotsdl/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":3,"state":"open","created_at":"2016-02-18T19:21:16Z","updated_at":"2016-03-10T09:34:18Z","due_on":"2016-03-10T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/pulls/761/commits","review_comments_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/pulls/761/comments","review_comment_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/761/comments","statuses_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/statuses/8fea0dbaa4335d98a0214bb224768ac42388026c","head":{"label":"abhinavgupta94:develop","ref":"develop","sha":"8fea0dbaa4335d98a0214bb224768ac42388026c","user":{"login":"abhinavgupta94","id":5422228,"avatar_url":"https://avatars.githubusercontent.com/u/5422228?v=3","gravatar_id":"","url":"https://api.github.com/users/abhinavgupta94","html_url":"https://github.com/abhinavgupta94","followers_url":"https://api.github.com/users/abhinavgupta94/followers","following_url":"https://api.github.com/users/abhinavgupta94/following{/other_user}","gists_url":"https://api.github.com/users/abhinavgupta94/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinavgupta94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinavgupta94/subscriptions","organizations_url":"https://api.github.com/users/abhinavgupta94/orgs","repos_url":"https://api.github.com/users/abhinavgupta94/repos","events_url":"https://api.github.com/users/abhinavgupta94/events{/privacy}","received_events_url":"https://api.github.com/users/abhinavgupta94/received_events","type":"User","site_admin":false},"repo":{"id":53515705,"name":"mdanalysis","full_name":"abhinavgupta94/mdanalysis","owner":{"login":"abhinavgupta94","id":5422228,"avatar_url":"https://avatars.githubusercontent.com/u/5422228?v=3","gravatar_id":"","url":"https://api.github.com/users/abhinavgupta94","html_url":"https://github.com/abhinavgupta94","followers_url":"https://api.github.com/users/abhinavgupta94/followers","following_url":"https://api.github.com/users/abhinavgupta94/following{/other_user}","gists_url":"https://api.github.com/users/abhinavgupta94/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinavgupta94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinavgupta94/subscriptions","organizations_url":"https://api.github.com/users/abhinavgupta94/orgs","repos_url":"https://api.github.com/users/abhinavgupta94/repos","events_url":"https://api.github.com/users/abhinavgupta94/events{/privacy}","received_events_url":"https://api.github.com/users/abhinavgupta94/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abhinavgupta94/mdanalysis","description":"MDAnalysis is a Python library to analyze molecular dynamics trajectories.","fork":true,"url":"https://api.github.com/repos/abhinavgupta94/mdanalysis","forks_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/forks","keys_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/teams","hooks_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/hooks","issue_events_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/issues/events{/number}","events_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/events","assignees_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/assignees{/user}","branches_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/branches{/branch}","tags_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/tags","blobs_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/git/refs{/sha}","trees_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/statuses/{sha}","languages_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/languages","stargazers_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/stargazers","contributors_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/contributors","subscribers_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/subscribers","subscription_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/subscription","commits_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/commits{/sha}","git_commits_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/git/commits{/sha}","comments_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/comments{/number}","issue_comment_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/issues/comments{/number}","contents_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/contents/{+path}","compare_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/merges","archive_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/downloads","issues_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/issues{/number}","pulls_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/pulls{/number}","milestones_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/milestones{/number}","notifications_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/labels{/name}","releases_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/releases{/id}","deployments_url":"https://api.github.com/repos/abhinavgupta94/mdanalysis/deployments","created_at":"2016-03-09T17:04:11Z","updated_at":"2016-03-09T17:04:16Z","pushed_at":"2016-03-09T23:10:06Z","git_url":"git://github.com/abhinavgupta94/mdanalysis.git","ssh_url":"git@github.com:abhinavgupta94/mdanalysis.git","clone_url":"https://github.com/abhinavgupta94/mdanalysis.git","svn_url":"https://github.com/abhinavgupta94/mdanalysis","homepage":"http://www.mdanalysis.org","size":252329,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"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":"develop"}},"base":{"label":"MDAnalysis:develop","ref":"develop","sha":"05a8aa600915290596a70f983350bcc45517fc41","user":{"login":"MDAnalysis","id":11445951,"avatar_url":"https://avatars.githubusercontent.com/u/11445951?v=3","gravatar_id":"","url":"https://api.github.com/users/MDAnalysis","html_url":"https://github.com/MDAnalysis","followers_url":"https://api.github.com/users/MDAnalysis/followers","following_url":"https://api.github.com/users/MDAnalysis/following{/other_user}","gists_url":"https://api.github.com/users/MDAnalysis/gists{/gist_id}","starred_url":"https://api.github.com/users/MDAnalysis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MDAnalysis/subscriptions","organizations_url":"https://api.github.com/users/MDAnalysis/orgs","repos_url":"https://api.github.com/users/MDAnalysis/repos","events_url":"https://api.github.com/users/MDAnalysis/events{/privacy}","received_events_url":"https://api.github.com/users/MDAnalysis/received_events","type":"Organization","site_admin":false},"repo":{"id":33389183,"name":"mdanalysis","full_name":"MDAnalysis/mdanalysis","owner":{"login":"MDAnalysis","id":11445951,"avatar_url":"https://avatars.githubusercontent.com/u/11445951?v=3","gravatar_id":"","url":"https://api.github.com/users/MDAnalysis","html_url":"https://github.com/MDAnalysis","followers_url":"https://api.github.com/users/MDAnalysis/followers","following_url":"https://api.github.com/users/MDAnalysis/following{/other_user}","gists_url":"https://api.github.com/users/MDAnalysis/gists{/gist_id}","starred_url":"https://api.github.com/users/MDAnalysis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MDAnalysis/subscriptions","organizations_url":"https://api.github.com/users/MDAnalysis/orgs","repos_url":"https://api.github.com/users/MDAnalysis/repos","events_url":"https://api.github.com/users/MDAnalysis/events{/privacy}","received_events_url":"https://api.github.com/users/MDAnalysis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MDAnalysis/mdanalysis","description":"MDAnalysis is a Python library to analyze molecular dynamics trajectories.","fork":false,"url":"https://api.github.com/repos/MDAnalysis/mdanalysis","forks_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/forks","keys_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/teams","hooks_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/hooks","issue_events_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/events{/number}","events_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/events","assignees_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/assignees{/user}","branches_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/branches{/branch}","tags_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/tags","blobs_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/git/refs{/sha}","trees_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/statuses/{sha}","languages_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/languages","stargazers_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/stargazers","contributors_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/contributors","subscribers_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/subscribers","subscription_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/subscription","commits_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/commits{/sha}","git_commits_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/git/commits{/sha}","comments_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/comments{/number}","issue_comment_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/comments{/number}","contents_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/contents/{+path}","compare_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/merges","archive_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/downloads","issues_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues{/number}","pulls_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/pulls{/number}","milestones_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/milestones{/number}","notifications_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/labels{/name}","releases_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/releases{/id}","deployments_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/deployments","created_at":"2015-04-04T00:39:41Z","updated_at":"2016-03-02T04:17:23Z","pushed_at":"2016-03-09T23:10:06Z","git_url":"git://github.com/MDAnalysis/mdanalysis.git","ssh_url":"git@github.com:MDAnalysis/mdanalysis.git","clone_url":"https://github.com/MDAnalysis/mdanalysis.git","svn_url":"https://github.com/MDAnalysis/mdanalysis","homepage":"http://www.mdanalysis.org","size":254200,"stargazers_count":57,"watchers_count":57,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":42,"mirror_url":null,"open_issues_count":86,"forks":42,"open_issues":86,"watchers":57,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/MDAnalysis/mdanalysis/pulls/761"},"html":{"href":"https://github.com/MDAnalysis/mdanalysis/pull/761"},"issue":{"href":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/761"},"comments":{"href":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/761/comments"},"review_comments":{"href":"https://api.github.com/repos/MDAnalysis/mdanalysis/pulls/761/comments"},"review_comment":{"href":"https://api.github.com/repos/MDAnalysis/mdanalysis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MDAnalysis/mdanalysis/pulls/761/commits"},"statuses":{"href":"https://api.github.com/repos/MDAnalysis/mdanalysis/statuses/8fea0dbaa4335d98a0214bb224768ac42388026c"}}}}