{"action":"created","comment":{"url":"https://api.github.com/repos/magicDGS/thaplv/pulls/comments/81167104","pull_request_review_id":2167104,"id":81167104,"diff_hunk":"@@ -0,0 +1,142 @@\n+/*\n+ * Copyright (c) 2016, Daniel Gomez-Sanchez <daniel.gomez.sanchez@hotmail> All rights reserved.\n+ *\n+ * Redistribution and use in source and binary forms, with or without modification, are permitted\n+ * provided that the following conditions are met:\n+ *\n+ * 1. Redistributions of source code must retain the above copyright notice, this list of conditions\n+ * and the following disclaimer.\n+ *\n+ * 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions\n+ * and the following disclaimer in the documentation and/or other materials provided with the\n+ * distribution.\n+ *\n+ * 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse\n+ * or promote products derived from this software without specific prior written permission.\n+ *\n+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR\n+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\n+ * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR\n+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\n+ * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n+ * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+ *\n+ */\n+\n+package org.magicdgs.thaplv.haplotypes.light;\n+\n+import static org.magicdgs.thaplv.haplotypes.light.LightGenotype.SNP;\n+\n+import org.testng.Assert;\n+import org.testng.annotations.DataProvider;\n+import org.testng.annotations.Test;\n+\n+/**\n+ * @author Daniel Gómez-Sánchez\n+ */\n+@Deprecated\n+public class SNPpairTest {\n+\n+    static SNPpair pair1_2, pair1_3, pair2_3, pair3_2;\n+\n+    @DataProvider(name = \"pairsToTest\")\n+    public Object[][] setUpClass() throws Exception {\n+        final LightGenotype variant1 = new LightGenotype(\"2L\", 1,\n+                new SNP[] {SNP.A, SNP.A, SNP.A, SNP.a, SNP.a, SNP.a, SNP.N});\n+        final LightGenotype variant2 = new LightGenotype(\"2L\", 2,\n+                new SNP[] {SNP.a, SNP.a, SNP.A, SNP.A, SNP.a, SNP.N, SNP.N});\n+        final LightGenotype variant3 = new LightGenotype(\"2L\", 100,\n+                new SNP[] {SNP.A, SNP.N, SNP.N, SNP.A, SNP.N, SNP.a, SNP.a});\n+        pair1_2 = new SNPpair(variant1, variant2);","path":"src/test/java/org/magicdgs/thaplv/haplotypes/light/SNPpairTest.java","position":52,"original_position":52,"commit_id":"6308f130d2f735f7b686e75d40f38db5a36260e2","original_commit_id":"6308f130d2f735f7b686e75d40f38db5a36260e2","user":{"login":"sputnikci","id":15047461,"avatar_url":"https://avatars.githubusercontent.com/u/15047461?v=3","gravatar_id":"","url":"https://api.github.com/users/sputnikci","html_url":"https://github.com/sputnikci","followers_url":"https://api.github.com/users/sputnikci/followers","following_url":"https://api.github.com/users/sputnikci/following{/other_user}","gists_url":"https://api.github.com/users/sputnikci/gists{/gist_id}","starred_url":"https://api.github.com/users/sputnikci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sputnikci/subscriptions","organizations_url":"https://api.github.com/users/sputnikci/orgs","repos_url":"https://api.github.com/users/sputnikci/repos","events_url":"https://api.github.com/users/sputnikci/events{/privacy}","received_events_url":"https://api.github.com/users/sputnikci/received_events","type":"User","site_admin":false},"body":"\\[FindBugs\\] INFO: ST: Write to static field org\\.magicdgs\\.thaplv\\.haplotypes\\.light\\.SNPpairTest\\.pair1\\_2 from instance method org\\.magicdgs\\.thaplv\\.haplotypes\\.light\\.SNPpairTest\\.setUpClass\\(\\)","created_at":"2016-09-29T15:39:55Z","updated_at":"2016-09-29T15:39:55Z","html_url":"https://github.com/magicDGS/thaplv/pull/33#discussion_r81167104","pull_request_url":"https://api.github.com/repos/magicDGS/thaplv/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/magicDGS/thaplv/pulls/comments/81167104"},"html":{"href":"https://github.com/magicDGS/thaplv/pull/33#discussion_r81167104"},"pull_request":{"href":"https://api.github.com/repos/magicDGS/thaplv/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/magicDGS/thaplv/pulls/33","id":86528674,"html_url":"https://github.com/magicDGS/thaplv/pull/33","diff_url":"https://github.com/magicDGS/thaplv/pull/33.diff","patch_url":"https://github.com/magicDGS/thaplv/pull/33.patch","issue_url":"https://api.github.com/repos/magicDGS/thaplv/issues/33","number":33,"state":"open","locked":false,"title":"WIP: LD components","user":{"login":"magicDGS","id":7352559,"avatar_url":"https://avatars.githubusercontent.com/u/7352559?v=3","gravatar_id":"","url":"https://api.github.com/users/magicDGS","html_url":"https://github.com/magicDGS","followers_url":"https://api.github.com/users/magicDGS/followers","following_url":"https://api.github.com/users/magicDGS/following{/other_user}","gists_url":"https://api.github.com/users/magicDGS/gists{/gist_id}","starred_url":"https://api.github.com/users/magicDGS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magicDGS/subscriptions","organizations_url":"https://api.github.com/users/magicDGS/orgs","repos_url":"https://api.github.com/users/magicDGS/repos","events_url":"https://api.github.com/users/magicDGS/events{/privacy}","received_events_url":"https://api.github.com/users/magicDGS/received_events","type":"User","site_admin":false},"body":"This is a temporary solution for the LD decay tool, because it should be changed by a new and cleaner implementation.","created_at":"2016-09-23T15:03:45Z","updated_at":"2016-09-29T15:39:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"550fcbfbfd608dec8ad62de0f43f9139f5931fa3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/magicDGS/thaplv/pulls/33/commits","review_comments_url":"https://api.github.com/repos/magicDGS/thaplv/pulls/33/comments","review_comment_url":"https://api.github.com/repos/magicDGS/thaplv/pulls/comments{/number}","comments_url":"https://api.github.com/repos/magicDGS/thaplv/issues/33/comments","statuses_url":"https://api.github.com/repos/magicDGS/thaplv/statuses/6308f130d2f735f7b686e75d40f38db5a36260e2","head":{"label":"magicDGS:dgs_ld_components","ref":"dgs_ld_components","sha":"6308f130d2f735f7b686e75d40f38db5a36260e2","user":{"login":"magicDGS","id":7352559,"avatar_url":"https://avatars.githubusercontent.com/u/7352559?v=3","gravatar_id":"","url":"https://api.github.com/users/magicDGS","html_url":"https://github.com/magicDGS","followers_url":"https://api.github.com/users/magicDGS/followers","following_url":"https://api.github.com/users/magicDGS/following{/other_user}","gists_url":"https://api.github.com/users/magicDGS/gists{/gist_id}","starred_url":"https://api.github.com/users/magicDGS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magicDGS/subscriptions","organizations_url":"https://api.github.com/users/magicDGS/orgs","repos_url":"https://api.github.com/users/magicDGS/repos","events_url":"https://api.github.com/users/magicDGS/events{/privacy}","received_events_url":"https://api.github.com/users/magicDGS/received_events","type":"User","site_admin":false},"repo":{"id":64378642,"name":"thaplv","full_name":"magicDGS/thaplv","owner":{"login":"magicDGS","id":7352559,"avatar_url":"https://avatars.githubusercontent.com/u/7352559?v=3","gravatar_id":"","url":"https://api.github.com/users/magicDGS","html_url":"https://github.com/magicDGS","followers_url":"https://api.github.com/users/magicDGS/followers","following_url":"https://api.github.com/users/magicDGS/following{/other_user}","gists_url":"https://api.github.com/users/magicDGS/gists{/gist_id}","starred_url":"https://api.github.com/users/magicDGS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magicDGS/subscriptions","organizations_url":"https://api.github.com/users/magicDGS/orgs","repos_url":"https://api.github.com/users/magicDGS/repos","events_url":"https://api.github.com/users/magicDGS/events{/privacy}","received_events_url":"https://api.github.com/users/magicDGS/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/magicDGS/thaplv","description":"Tools for Haploid/Haplotype VCFs","fork":false,"url":"https://api.github.com/repos/magicDGS/thaplv","forks_url":"https://api.github.com/repos/magicDGS/thaplv/forks","keys_url":"https://api.github.com/repos/magicDGS/thaplv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magicDGS/thaplv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magicDGS/thaplv/teams","hooks_url":"https://api.github.com/repos/magicDGS/thaplv/hooks","issue_events_url":"https://api.github.com/repos/magicDGS/thaplv/issues/events{/number}","events_url":"https://api.github.com/repos/magicDGS/thaplv/events","assignees_url":"https://api.github.com/repos/magicDGS/thaplv/assignees{/user}","branches_url":"https://api.github.com/repos/magicDGS/thaplv/branches{/branch}","tags_url":"https://api.github.com/repos/magicDGS/thaplv/tags","blobs_url":"https://api.github.com/repos/magicDGS/thaplv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magicDGS/thaplv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magicDGS/thaplv/git/refs{/sha}","trees_url":"https://api.github.com/repos/magicDGS/thaplv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magicDGS/thaplv/statuses/{sha}","languages_url":"https://api.github.com/repos/magicDGS/thaplv/languages","stargazers_url":"https://api.github.com/repos/magicDGS/thaplv/stargazers","contributors_url":"https://api.github.com/repos/magicDGS/thaplv/contributors","subscribers_url":"https://api.github.com/repos/magicDGS/thaplv/subscribers","subscription_url":"https://api.github.com/repos/magicDGS/thaplv/subscription","commits_url":"https://api.github.com/repos/magicDGS/thaplv/commits{/sha}","git_commits_url":"https://api.github.com/repos/magicDGS/thaplv/git/commits{/sha}","comments_url":"https://api.github.com/repos/magicDGS/thaplv/comments{/number}","issue_comment_url":"https://api.github.com/repos/magicDGS/thaplv/issues/comments{/number}","contents_url":"https://api.github.com/repos/magicDGS/thaplv/contents/{+path}","compare_url":"https://api.github.com/repos/magicDGS/thaplv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magicDGS/thaplv/merges","archive_url":"https://api.github.com/repos/magicDGS/thaplv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magicDGS/thaplv/downloads","issues_url":"https://api.github.com/repos/magicDGS/thaplv/issues{/number}","pulls_url":"https://api.github.com/repos/magicDGS/thaplv/pulls{/number}","milestones_url":"https://api.github.com/repos/magicDGS/thaplv/milestones{/number}","notifications_url":"https://api.github.com/repos/magicDGS/thaplv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magicDGS/thaplv/labels{/name}","releases_url":"https://api.github.com/repos/magicDGS/thaplv/releases{/id}","deployments_url":"https://api.github.com/repos/magicDGS/thaplv/deployments","created_at":"2016-07-28T08:39:01Z","updated_at":"2016-07-28T12:08:08Z","pushed_at":"2016-09-29T15:33:28Z","git_url":"git://github.com/magicDGS/thaplv.git","ssh_url":"git@github.com:magicDGS/thaplv.git","clone_url":"https://github.com/magicDGS/thaplv.git","svn_url":"https://github.com/magicDGS/thaplv","homepage":null,"size":9071,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":0,"default_branch":"master"}},"base":{"label":"magicDGS:master","ref":"master","sha":"a4712e061b267afaae42b1f7008219ddcc09806a","user":{"login":"magicDGS","id":7352559,"avatar_url":"https://avatars.githubusercontent.com/u/7352559?v=3","gravatar_id":"","url":"https://api.github.com/users/magicDGS","html_url":"https://github.com/magicDGS","followers_url":"https://api.github.com/users/magicDGS/followers","following_url":"https://api.github.com/users/magicDGS/following{/other_user}","gists_url":"https://api.github.com/users/magicDGS/gists{/gist_id}","starred_url":"https://api.github.com/users/magicDGS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magicDGS/subscriptions","organizations_url":"https://api.github.com/users/magicDGS/orgs","repos_url":"https://api.github.com/users/magicDGS/repos","events_url":"https://api.github.com/users/magicDGS/events{/privacy}","received_events_url":"https://api.github.com/users/magicDGS/received_events","type":"User","site_admin":false},"repo":{"id":64378642,"name":"thaplv","full_name":"magicDGS/thaplv","owner":{"login":"magicDGS","id":7352559,"avatar_url":"https://avatars.githubusercontent.com/u/7352559?v=3","gravatar_id":"","url":"https://api.github.com/users/magicDGS","html_url":"https://github.com/magicDGS","followers_url":"https://api.github.com/users/magicDGS/followers","following_url":"https://api.github.com/users/magicDGS/following{/other_user}","gists_url":"https://api.github.com/users/magicDGS/gists{/gist_id}","starred_url":"https://api.github.com/users/magicDGS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magicDGS/subscriptions","organizations_url":"https://api.github.com/users/magicDGS/orgs","repos_url":"https://api.github.com/users/magicDGS/repos","events_url":"https://api.github.com/users/magicDGS/events{/privacy}","received_events_url":"https://api.github.com/users/magicDGS/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/magicDGS/thaplv","description":"Tools for Haploid/Haplotype VCFs","fork":false,"url":"https://api.github.com/repos/magicDGS/thaplv","forks_url":"https://api.github.com/repos/magicDGS/thaplv/forks","keys_url":"https://api.github.com/repos/magicDGS/thaplv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magicDGS/thaplv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magicDGS/thaplv/teams","hooks_url":"https://api.github.com/repos/magicDGS/thaplv/hooks","issue_events_url":"https://api.github.com/repos/magicDGS/thaplv/issues/events{/number}","events_url":"https://api.github.com/repos/magicDGS/thaplv/events","assignees_url":"https://api.github.com/repos/magicDGS/thaplv/assignees{/user}","branches_url":"https://api.github.com/repos/magicDGS/thaplv/branches{/branch}","tags_url":"https://api.github.com/repos/magicDGS/thaplv/tags","blobs_url":"https://api.github.com/repos/magicDGS/thaplv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magicDGS/thaplv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magicDGS/thaplv/git/refs{/sha}","trees_url":"https://api.github.com/repos/magicDGS/thaplv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magicDGS/thaplv/statuses/{sha}","languages_url":"https://api.github.com/repos/magicDGS/thaplv/languages","stargazers_url":"https://api.github.com/repos/magicDGS/thaplv/stargazers","contributors_url":"https://api.github.com/repos/magicDGS/thaplv/contributors","subscribers_url":"https://api.github.com/repos/magicDGS/thaplv/subscribers","subscription_url":"https://api.github.com/repos/magicDGS/thaplv/subscription","commits_url":"https://api.github.com/repos/magicDGS/thaplv/commits{/sha}","git_commits_url":"https://api.github.com/repos/magicDGS/thaplv/git/commits{/sha}","comments_url":"https://api.github.com/repos/magicDGS/thaplv/comments{/number}","issue_comment_url":"https://api.github.com/repos/magicDGS/thaplv/issues/comments{/number}","contents_url":"https://api.github.com/repos/magicDGS/thaplv/contents/{+path}","compare_url":"https://api.github.com/repos/magicDGS/thaplv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magicDGS/thaplv/merges","archive_url":"https://api.github.com/repos/magicDGS/thaplv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magicDGS/thaplv/downloads","issues_url":"https://api.github.com/repos/magicDGS/thaplv/issues{/number}","pulls_url":"https://api.github.com/repos/magicDGS/thaplv/pulls{/number}","milestones_url":"https://api.github.com/repos/magicDGS/thaplv/milestones{/number}","notifications_url":"https://api.github.com/repos/magicDGS/thaplv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magicDGS/thaplv/labels{/name}","releases_url":"https://api.github.com/repos/magicDGS/thaplv/releases{/id}","deployments_url":"https://api.github.com/repos/magicDGS/thaplv/deployments","created_at":"2016-07-28T08:39:01Z","updated_at":"2016-07-28T12:08:08Z","pushed_at":"2016-09-29T15:33:28Z","git_url":"git://github.com/magicDGS/thaplv.git","ssh_url":"git@github.com:magicDGS/thaplv.git","clone_url":"https://github.com/magicDGS/thaplv.git","svn_url":"https://github.com/magicDGS/thaplv","homepage":null,"size":9071,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/magicDGS/thaplv/pulls/33"},"html":{"href":"https://github.com/magicDGS/thaplv/pull/33"},"issue":{"href":"https://api.github.com/repos/magicDGS/thaplv/issues/33"},"comments":{"href":"https://api.github.com/repos/magicDGS/thaplv/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/magicDGS/thaplv/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/magicDGS/thaplv/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/magicDGS/thaplv/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/magicDGS/thaplv/statuses/6308f130d2f735f7b686e75d40f38db5a36260e2"}}}}
{"actor":{"display_login":"sputnikci"}}