{"action":"created","comment":{"url":"https://api.github.com/repos/seqan/seqan/pulls/comments/24585240","id":24585240,"diff_hunk":"@@ -0,0 +1,54 @@\n+// ==========================================================================\n+//                              index_minimizer\n+// ==========================================================================\n+// Copyright (c) 2006-2013, Knut Reinert, FU Berlin\n+// All rights reserved.\n+//\n+// Redistribution and use in source and binary forms, with or without\n+// modification, are permitted provided that the following conditions are met:\n+//\n+//     * Redistributions of source code must retain the above copyright\n+//       notice, this list of conditions and the following disclaimer.\n+//     * Redistributions in binary form must reproduce the above copyright\n+//       notice, this list of conditions and the following disclaimer in the\n+//       documentation and/or other materials provided with the distribution.\n+//     * Neither the name of Knut Reinert or the FU Berlin nor the names of\n+//       its contributors may be used to endorse or promote products derived\n+//       from this software without specific prior written permission.\n+//\n+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n+// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n+// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n+// ARE DISCLAIMED. IN NO EVENT SHALL KNUT REINERT OR THE FU BERLIN BE LIABLE\n+// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n+// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n+// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n+// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n+// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n+// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\n+// DAMAGE.\n+//\n+// ==========================================================================\n+// Author: Your Name <your.email@example.net>\n+// ==========================================================================\n+\n+#include <iostream>\n+\n+#include <seqan/basic.h>\n+#include <seqan/sequence.h>\n+#include <seqan/seq_io.h>\n+#include <seqan/file.h>\n+#include <seqan/pipe.h>\n+\n+#include \"test_index_minimizer.h\"\n+\n+using namespace seqan;\n+using namespace std;\n+\n+SEQAN_BEGIN_TESTSUITE(test_index_minimizer)\n+{\n+    // Call tests.\n+\tSEQAN_CALL_TEST(test_index_minimizer_getOccurrences);","path":"tests/index_minimizer/test_index_minimizer.cpp","position":51,"original_position":51,"commit_id":"283775d6d6370cb5fcd0c21dfbaf2b44ac4742e0","original_commit_id":"283775d6d6370cb5fcd0c21dfbaf2b44ac4742e0","user":{"login":"esiragusa","id":172085,"avatar_url":"https://avatars.githubusercontent.com/u/172085?v=3","gravatar_id":"","url":"https://api.github.com/users/esiragusa","html_url":"https://github.com/esiragusa","followers_url":"https://api.github.com/users/esiragusa/followers","following_url":"https://api.github.com/users/esiragusa/following{/other_user}","gists_url":"https://api.github.com/users/esiragusa/gists{/gist_id}","starred_url":"https://api.github.com/users/esiragusa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esiragusa/subscriptions","organizations_url":"https://api.github.com/users/esiragusa/orgs","repos_url":"https://api.github.com/users/esiragusa/repos","events_url":"https://api.github.com/users/esiragusa/events{/privacy}","received_events_url":"https://api.github.com/users/esiragusa/received_events","type":"User","site_admin":false},"body":"I had a look at the qgram index tests... i think it's better to keep your test as it is!\r\n\r\nI would only suggest you to move your minimizer test in the file:\r\nhttps://github.com/seqan/seqan/blob/master/tests/index/test_qgram_index.h\r\nand call it from:\r\nhttps://github.com/seqan/seqan/blob/master/tests/index/test_index_qgram.cpp.","created_at":"2015-02-12T14:48:44Z","updated_at":"2015-02-12T14:48:44Z","html_url":"https://github.com/seqan/seqan/pull/847#discussion_r24585240","pull_request_url":"https://api.github.com/repos/seqan/seqan/pulls/847","_links":{"self":{"href":"https://api.github.com/repos/seqan/seqan/pulls/comments/24585240"},"html":{"href":"https://github.com/seqan/seqan/pull/847#discussion_r24585240"},"pull_request":{"href":"https://api.github.com/repos/seqan/seqan/pulls/847"}}},"pull_request":{"url":"https://api.github.com/repos/seqan/seqan/pulls/847","id":29179526,"html_url":"https://github.com/seqan/seqan/pull/847","diff_url":"https://github.com/seqan/seqan/pull/847.diff","patch_url":"https://github.com/seqan/seqan/pull/847.patch","issue_url":"https://api.github.com/repos/seqan/seqan/issues/847","number":847,"state":"open","locked":false,"title":"[FEATURE] Index: minimizer","user":{"login":"xp3i4","id":7835955,"avatar_url":"https://avatars.githubusercontent.com/u/7835955?v=3","gravatar_id":"","url":"https://api.github.com/users/xp3i4","html_url":"https://github.com/xp3i4","followers_url":"https://api.github.com/users/xp3i4/followers","following_url":"https://api.github.com/users/xp3i4/following{/other_user}","gists_url":"https://api.github.com/users/xp3i4/gists{/gist_id}","starred_url":"https://api.github.com/users/xp3i4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xp3i4/subscriptions","organizations_url":"https://api.github.com/users/xp3i4/orgs","repos_url":"https://api.github.com/users/xp3i4/repos","events_url":"https://api.github.com/users/xp3i4/events{/privacy}","received_events_url":"https://api.github.com/users/xp3i4/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-12T13:43:56Z","updated_at":"2015-02-12T14:48:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07e45c1c45c17482ac2ab123b5e955d9da90d398","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/seqan/seqan/pulls/847/commits","review_comments_url":"https://api.github.com/repos/seqan/seqan/pulls/847/comments","review_comment_url":"https://api.github.com/repos/seqan/seqan/pulls/comments/{number}","comments_url":"https://api.github.com/repos/seqan/seqan/issues/847/comments","statuses_url":"https://api.github.com/repos/seqan/seqan/statuses/283775d6d6370cb5fcd0c21dfbaf2b44ac4742e0","head":{"label":"xp3i4:feature/minimizer","ref":"feature/minimizer","sha":"283775d6d6370cb5fcd0c21dfbaf2b44ac4742e0","user":{"login":"xp3i4","id":7835955,"avatar_url":"https://avatars.githubusercontent.com/u/7835955?v=3","gravatar_id":"","url":"https://api.github.com/users/xp3i4","html_url":"https://github.com/xp3i4","followers_url":"https://api.github.com/users/xp3i4/followers","following_url":"https://api.github.com/users/xp3i4/following{/other_user}","gists_url":"https://api.github.com/users/xp3i4/gists{/gist_id}","starred_url":"https://api.github.com/users/xp3i4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xp3i4/subscriptions","organizations_url":"https://api.github.com/users/xp3i4/orgs","repos_url":"https://api.github.com/users/xp3i4/repos","events_url":"https://api.github.com/users/xp3i4/events{/privacy}","received_events_url":"https://api.github.com/users/xp3i4/received_events","type":"User","site_admin":false},"repo":{"id":30246337,"name":"seqan","full_name":"xp3i4/seqan","owner":{"login":"xp3i4","id":7835955,"avatar_url":"https://avatars.githubusercontent.com/u/7835955?v=3","gravatar_id":"","url":"https://api.github.com/users/xp3i4","html_url":"https://github.com/xp3i4","followers_url":"https://api.github.com/users/xp3i4/followers","following_url":"https://api.github.com/users/xp3i4/following{/other_user}","gists_url":"https://api.github.com/users/xp3i4/gists{/gist_id}","starred_url":"https://api.github.com/users/xp3i4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xp3i4/subscriptions","organizations_url":"https://api.github.com/users/xp3i4/orgs","repos_url":"https://api.github.com/users/xp3i4/repos","events_url":"https://api.github.com/users/xp3i4/events{/privacy}","received_events_url":"https://api.github.com/users/xp3i4/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xp3i4/seqan","description":"SeqAn's personal clone","fork":true,"url":"https://api.github.com/repos/xp3i4/seqan","forks_url":"https://api.github.com/repos/xp3i4/seqan/forks","keys_url":"https://api.github.com/repos/xp3i4/seqan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xp3i4/seqan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xp3i4/seqan/teams","hooks_url":"https://api.github.com/repos/xp3i4/seqan/hooks","issue_events_url":"https://api.github.com/repos/xp3i4/seqan/issues/events{/number}","events_url":"https://api.github.com/repos/xp3i4/seqan/events","assignees_url":"https://api.github.com/repos/xp3i4/seqan/assignees{/user}","branches_url":"https://api.github.com/repos/xp3i4/seqan/branches{/branch}","tags_url":"https://api.github.com/repos/xp3i4/seqan/tags","blobs_url":"https://api.github.com/repos/xp3i4/seqan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xp3i4/seqan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xp3i4/seqan/git/refs{/sha}","trees_url":"https://api.github.com/repos/xp3i4/seqan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xp3i4/seqan/statuses/{sha}","languages_url":"https://api.github.com/repos/xp3i4/seqan/languages","stargazers_url":"https://api.github.com/repos/xp3i4/seqan/stargazers","contributors_url":"https://api.github.com/repos/xp3i4/seqan/contributors","subscribers_url":"https://api.github.com/repos/xp3i4/seqan/subscribers","subscription_url":"https://api.github.com/repos/xp3i4/seqan/subscription","commits_url":"https://api.github.com/repos/xp3i4/seqan/commits{/sha}","git_commits_url":"https://api.github.com/repos/xp3i4/seqan/git/commits{/sha}","comments_url":"https://api.github.com/repos/xp3i4/seqan/comments{/number}","issue_comment_url":"https://api.github.com/repos/xp3i4/seqan/issues/comments/{number}","contents_url":"https://api.github.com/repos/xp3i4/seqan/contents/{+path}","compare_url":"https://api.github.com/repos/xp3i4/seqan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xp3i4/seqan/merges","archive_url":"https://api.github.com/repos/xp3i4/seqan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xp3i4/seqan/downloads","issues_url":"https://api.github.com/repos/xp3i4/seqan/issues{/number}","pulls_url":"https://api.github.com/repos/xp3i4/seqan/pulls{/number}","milestones_url":"https://api.github.com/repos/xp3i4/seqan/milestones{/number}","notifications_url":"https://api.github.com/repos/xp3i4/seqan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xp3i4/seqan/labels{/name}","releases_url":"https://api.github.com/repos/xp3i4/seqan/releases{/id}","created_at":"2015-02-03T14:22:22Z","updated_at":"2015-02-05T17:42:38Z","pushed_at":"2015-02-05T17:42:04Z","git_url":"git://github.com/xp3i4/seqan.git","ssh_url":"git@github.com:xp3i4/seqan.git","clone_url":"https://github.com/xp3i4/seqan.git","svn_url":"https://github.com/xp3i4/seqan","homepage":"","size":136318,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"feature/minimizer"}},"base":{"label":"seqan:develop","ref":"develop","sha":"b0826a7f0b095b02a8c23e26cbfe606aee1202ea","user":{"login":"seqan","id":1752144,"avatar_url":"https://avatars.githubusercontent.com/u/1752144?v=3","gravatar_id":"","url":"https://api.github.com/users/seqan","html_url":"https://github.com/seqan","followers_url":"https://api.github.com/users/seqan/followers","following_url":"https://api.github.com/users/seqan/following{/other_user}","gists_url":"https://api.github.com/users/seqan/gists{/gist_id}","starred_url":"https://api.github.com/users/seqan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seqan/subscriptions","organizations_url":"https://api.github.com/users/seqan/orgs","repos_url":"https://api.github.com/users/seqan/repos","events_url":"https://api.github.com/users/seqan/events{/privacy}","received_events_url":"https://api.github.com/users/seqan/received_events","type":"Organization","site_admin":false},"repo":{"id":6383869,"name":"seqan","full_name":"seqan/seqan","owner":{"login":"seqan","id":1752144,"avatar_url":"https://avatars.githubusercontent.com/u/1752144?v=3","gravatar_id":"","url":"https://api.github.com/users/seqan","html_url":"https://github.com/seqan","followers_url":"https://api.github.com/users/seqan/followers","following_url":"https://api.github.com/users/seqan/following{/other_user}","gists_url":"https://api.github.com/users/seqan/gists{/gist_id}","starred_url":"https://api.github.com/users/seqan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seqan/subscriptions","organizations_url":"https://api.github.com/users/seqan/orgs","repos_url":"https://api.github.com/users/seqan/repos","events_url":"https://api.github.com/users/seqan/events{/privacy}","received_events_url":"https://api.github.com/users/seqan/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seqan/seqan","description":"SeqAn's official repository.","fork":false,"url":"https://api.github.com/repos/seqan/seqan","forks_url":"https://api.github.com/repos/seqan/seqan/forks","keys_url":"https://api.github.com/repos/seqan/seqan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seqan/seqan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seqan/seqan/teams","hooks_url":"https://api.github.com/repos/seqan/seqan/hooks","issue_events_url":"https://api.github.com/repos/seqan/seqan/issues/events{/number}","events_url":"https://api.github.com/repos/seqan/seqan/events","assignees_url":"https://api.github.com/repos/seqan/seqan/assignees{/user}","branches_url":"https://api.github.com/repos/seqan/seqan/branches{/branch}","tags_url":"https://api.github.com/repos/seqan/seqan/tags","blobs_url":"https://api.github.com/repos/seqan/seqan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seqan/seqan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seqan/seqan/git/refs{/sha}","trees_url":"https://api.github.com/repos/seqan/seqan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seqan/seqan/statuses/{sha}","languages_url":"https://api.github.com/repos/seqan/seqan/languages","stargazers_url":"https://api.github.com/repos/seqan/seqan/stargazers","contributors_url":"https://api.github.com/repos/seqan/seqan/contributors","subscribers_url":"https://api.github.com/repos/seqan/seqan/subscribers","subscription_url":"https://api.github.com/repos/seqan/seqan/subscription","commits_url":"https://api.github.com/repos/seqan/seqan/commits{/sha}","git_commits_url":"https://api.github.com/repos/seqan/seqan/git/commits{/sha}","comments_url":"https://api.github.com/repos/seqan/seqan/comments{/number}","issue_comment_url":"https://api.github.com/repos/seqan/seqan/issues/comments/{number}","contents_url":"https://api.github.com/repos/seqan/seqan/contents/{+path}","compare_url":"https://api.github.com/repos/seqan/seqan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seqan/seqan/merges","archive_url":"https://api.github.com/repos/seqan/seqan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seqan/seqan/downloads","issues_url":"https://api.github.com/repos/seqan/seqan/issues{/number}","pulls_url":"https://api.github.com/repos/seqan/seqan/pulls{/number}","milestones_url":"https://api.github.com/repos/seqan/seqan/milestones{/number}","notifications_url":"https://api.github.com/repos/seqan/seqan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seqan/seqan/labels{/name}","releases_url":"https://api.github.com/repos/seqan/seqan/releases{/id}","created_at":"2012-10-25T08:02:15Z","updated_at":"2015-02-12T13:47:59Z","pushed_at":"2015-02-11T15:37:26Z","git_url":"git://github.com/seqan/seqan.git","ssh_url":"git@github.com:seqan/seqan.git","clone_url":"https://github.com/seqan/seqan.git","svn_url":"https://github.com/seqan/seqan","homepage":"www.seqan.de","size":151610,"stargazers_count":64,"watchers_count":64,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":93,"forks":37,"open_issues":93,"watchers":64,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/seqan/seqan/pulls/847"},"html":{"href":"https://github.com/seqan/seqan/pull/847"},"issue":{"href":"https://api.github.com/repos/seqan/seqan/issues/847"},"comments":{"href":"https://api.github.com/repos/seqan/seqan/issues/847/comments"},"review_comments":{"href":"https://api.github.com/repos/seqan/seqan/pulls/847/comments"},"review_comment":{"href":"https://api.github.com/repos/seqan/seqan/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/seqan/seqan/pulls/847/commits"},"statuses":{"href":"https://api.github.com/repos/seqan/seqan/statuses/283775d6d6370cb5fcd0c21dfbaf2b44ac4742e0"}}}}