{"action":"created","comment":{"url":"https://api.github.com/repos/SciLifeLab/TACA/pulls/comments/86935618","pull_request_review_id":7567214,"id":86935618,"diff_hunk":"@@ -60,12 +60,7 @@ def update_statusdb(run_dir):\n     view = db.view('latest_data/sample_id')\n     #Construction and sending of individual records, if samplesheet is incorrectly formatted the loop is skipped\n     for flowcell in project_info:\n-        if flowcell == 'UNKNOWN':\n-            obj={'run_id':run_id, 'project_id':'ERROR_Samplesheet'}\n-            logger.info(\"INVALID SAMPLESHEET, CHECK {} FORMED AT {}\".format(run_id, valueskey))\n-            error_emailer('no_samplesheet', run_id)\n-            db.save(obj)\n-        else:\n+        if not flowcell == 'UNKNOWN':","path":"taca/utils/bioinfo_tab.py","position":10,"original_position":10,"commit_id":"3fc76e39894565a6156f73d4800926e8dc9e1a10","original_commit_id":"3fc76e39894565a6156f73d4800926e8dc9e1a10","user":{"login":"vezzi","id":1209695,"avatar_url":"https://avatars.githubusercontent.com/u/1209695?v=3","gravatar_id":"","url":"https://api.github.com/users/vezzi","html_url":"https://github.com/vezzi","followers_url":"https://api.github.com/users/vezzi/followers","following_url":"https://api.github.com/users/vezzi/following{/other_user}","gists_url":"https://api.github.com/users/vezzi/gists{/gist_id}","starred_url":"https://api.github.com/users/vezzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vezzi/subscriptions","organizations_url":"https://api.github.com/users/vezzi/orgs","repos_url":"https://api.github.com/users/vezzi/repos","events_url":"https://api.github.com/users/vezzi/events{/privacy}","received_events_url":"https://api.github.com/users/vezzi/received_events","type":"User","site_admin":false},"body":"This is true every time `get_ss_projects ` returns `UNKNOWN`, the function parse the samplesheet and tries to find project name and sample name and other things...\r\nIt returns `UNKNOWN` when the sample sheet is not found .... from the mails I see a lot of problems...\r\n - we get mail about FC i cannot find anywhere: `160412_M01320_0053_000000000-AMRYR`\r\n - we get mails about FC in `/srv/illumina/miseq/IGNORE/` which are FCs that needs to... be ignored\r\n\r\nseems like we get a mail for all MiSeq FCs.... the reg expression inline 154 fails continuosly but I do not get why.....  \r\n\r\nAnyway, the cases in MiSeq are the following:\r\n  -SampleSheet.csv is either located in Data/intensities..... or in the main run dir folder (you handle this)\r\n  - if no samplesheet is present in these two location a warning is needed\r\n  - we are interested only in MiSeq runs that have value `Production` of `Application` in the field `Description` in the `[Header]` section. See https://github.com/SciLifeLab/TACA/blob/master/taca/illumina/MiSeq_Runs.py#L33\r\n  - we ignore everything else, i.e., MiSeq runs with samplesheet and Description different from Production and Application\r\n\r\n\r\n\r\n\r\n","created_at":"2016-11-08T07:27:52Z","updated_at":"2016-11-08T07:27:52Z","html_url":"https://github.com/SciLifeLab/TACA/pull/213#discussion_r86935618","pull_request_url":"https://api.github.com/repos/SciLifeLab/TACA/pulls/213","_links":{"self":{"href":"https://api.github.com/repos/SciLifeLab/TACA/pulls/comments/86935618"},"html":{"href":"https://github.com/SciLifeLab/TACA/pull/213#discussion_r86935618"},"pull_request":{"href":"https://api.github.com/repos/SciLifeLab/TACA/pulls/213"}}},"pull_request":{"url":"https://api.github.com/repos/SciLifeLab/TACA/pulls/213","id":92609818,"html_url":"https://github.com/SciLifeLab/TACA/pull/213","diff_url":"https://github.com/SciLifeLab/TACA/pull/213.diff","patch_url":"https://github.com/SciLifeLab/TACA/pull/213.patch","issue_url":"https://api.github.com/repos/SciLifeLab/TACA/issues/213","number":213,"state":"open","locked":false,"title":"bioinfo_tab now silently ignores non-prod/app samplesheets","user":{"login":"sylvinite","id":5452272,"avatar_url":"https://avatars.githubusercontent.com/u/5452272?v=3","gravatar_id":"","url":"https://api.github.com/users/sylvinite","html_url":"https://github.com/sylvinite","followers_url":"https://api.github.com/users/sylvinite/followers","following_url":"https://api.github.com/users/sylvinite/following{/other_user}","gists_url":"https://api.github.com/users/sylvinite/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvinite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvinite/subscriptions","organizations_url":"https://api.github.com/users/sylvinite/orgs","repos_url":"https://api.github.com/users/sylvinite/repos","events_url":"https://api.github.com/users/sylvinite/events{/privacy}","received_events_url":"https://api.github.com/users/sylvinite/received_events","type":"User","site_admin":false},"body":"Sample sheets that do not contain the description 'application' or 'production'  are considered irrelevant for NGI and can thus safely be ignored. This means no nag e-mails, and no statusdb entries only listing their run ids.","created_at":"2016-11-07T15:58:03Z","updated_at":"2016-11-08T07:27:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"301d09a303c125073e26ba1b943153644c929724","assignee":{"login":"vezzi","id":1209695,"avatar_url":"https://avatars.githubusercontent.com/u/1209695?v=3","gravatar_id":"","url":"https://api.github.com/users/vezzi","html_url":"https://github.com/vezzi","followers_url":"https://api.github.com/users/vezzi/followers","following_url":"https://api.github.com/users/vezzi/following{/other_user}","gists_url":"https://api.github.com/users/vezzi/gists{/gist_id}","starred_url":"https://api.github.com/users/vezzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vezzi/subscriptions","organizations_url":"https://api.github.com/users/vezzi/orgs","repos_url":"https://api.github.com/users/vezzi/repos","events_url":"https://api.github.com/users/vezzi/events{/privacy}","received_events_url":"https://api.github.com/users/vezzi/received_events","type":"User","site_admin":false},"assignees":[{"login":"vezzi","id":1209695,"avatar_url":"https://avatars.githubusercontent.com/u/1209695?v=3","gravatar_id":"","url":"https://api.github.com/users/vezzi","html_url":"https://github.com/vezzi","followers_url":"https://api.github.com/users/vezzi/followers","following_url":"https://api.github.com/users/vezzi/following{/other_user}","gists_url":"https://api.github.com/users/vezzi/gists{/gist_id}","starred_url":"https://api.github.com/users/vezzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vezzi/subscriptions","organizations_url":"https://api.github.com/users/vezzi/orgs","repos_url":"https://api.github.com/users/vezzi/repos","events_url":"https://api.github.com/users/vezzi/events{/privacy}","received_events_url":"https://api.github.com/users/vezzi/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/SciLifeLab/TACA/pulls/213/commits","review_comments_url":"https://api.github.com/repos/SciLifeLab/TACA/pulls/213/comments","review_comment_url":"https://api.github.com/repos/SciLifeLab/TACA/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SciLifeLab/TACA/issues/213/comments","statuses_url":"https://api.github.com/repos/SciLifeLab/TACA/statuses/3fc76e39894565a6156f73d4800926e8dc9e1a10","head":{"label":"sylvinite:master","ref":"master","sha":"3fc76e39894565a6156f73d4800926e8dc9e1a10","user":{"login":"sylvinite","id":5452272,"avatar_url":"https://avatars.githubusercontent.com/u/5452272?v=3","gravatar_id":"","url":"https://api.github.com/users/sylvinite","html_url":"https://github.com/sylvinite","followers_url":"https://api.github.com/users/sylvinite/followers","following_url":"https://api.github.com/users/sylvinite/following{/other_user}","gists_url":"https://api.github.com/users/sylvinite/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvinite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvinite/subscriptions","organizations_url":"https://api.github.com/users/sylvinite/orgs","repos_url":"https://api.github.com/users/sylvinite/repos","events_url":"https://api.github.com/users/sylvinite/events{/privacy}","received_events_url":"https://api.github.com/users/sylvinite/received_events","type":"User","site_admin":false},"repo":{"id":46495139,"name":"TACA","full_name":"sylvinite/TACA","owner":{"login":"sylvinite","id":5452272,"avatar_url":"https://avatars.githubusercontent.com/u/5452272?v=3","gravatar_id":"","url":"https://api.github.com/users/sylvinite","html_url":"https://github.com/sylvinite","followers_url":"https://api.github.com/users/sylvinite/followers","following_url":"https://api.github.com/users/sylvinite/following{/other_user}","gists_url":"https://api.github.com/users/sylvinite/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvinite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvinite/subscriptions","organizations_url":"https://api.github.com/users/sylvinite/orgs","repos_url":"https://api.github.com/users/sylvinite/repos","events_url":"https://api.github.com/users/sylvinite/events{/privacy}","received_events_url":"https://api.github.com/users/sylvinite/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sylvinite/TACA","description":"Tool for the Automation of Cleanup and Analyses","fork":true,"url":"https://api.github.com/repos/sylvinite/TACA","forks_url":"https://api.github.com/repos/sylvinite/TACA/forks","keys_url":"https://api.github.com/repos/sylvinite/TACA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sylvinite/TACA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sylvinite/TACA/teams","hooks_url":"https://api.github.com/repos/sylvinite/TACA/hooks","issue_events_url":"https://api.github.com/repos/sylvinite/TACA/issues/events{/number}","events_url":"https://api.github.com/repos/sylvinite/TACA/events","assignees_url":"https://api.github.com/repos/sylvinite/TACA/assignees{/user}","branches_url":"https://api.github.com/repos/sylvinite/TACA/branches{/branch}","tags_url":"https://api.github.com/repos/sylvinite/TACA/tags","blobs_url":"https://api.github.com/repos/sylvinite/TACA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sylvinite/TACA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sylvinite/TACA/git/refs{/sha}","trees_url":"https://api.github.com/repos/sylvinite/TACA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sylvinite/TACA/statuses/{sha}","languages_url":"https://api.github.com/repos/sylvinite/TACA/languages","stargazers_url":"https://api.github.com/repos/sylvinite/TACA/stargazers","contributors_url":"https://api.github.com/repos/sylvinite/TACA/contributors","subscribers_url":"https://api.github.com/repos/sylvinite/TACA/subscribers","subscription_url":"https://api.github.com/repos/sylvinite/TACA/subscription","commits_url":"https://api.github.com/repos/sylvinite/TACA/commits{/sha}","git_commits_url":"https://api.github.com/repos/sylvinite/TACA/git/commits{/sha}","comments_url":"https://api.github.com/repos/sylvinite/TACA/comments{/number}","issue_comment_url":"https://api.github.com/repos/sylvinite/TACA/issues/comments{/number}","contents_url":"https://api.github.com/repos/sylvinite/TACA/contents/{+path}","compare_url":"https://api.github.com/repos/sylvinite/TACA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sylvinite/TACA/merges","archive_url":"https://api.github.com/repos/sylvinite/TACA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sylvinite/TACA/downloads","issues_url":"https://api.github.com/repos/sylvinite/TACA/issues{/number}","pulls_url":"https://api.github.com/repos/sylvinite/TACA/pulls{/number}","milestones_url":"https://api.github.com/repos/sylvinite/TACA/milestones{/number}","notifications_url":"https://api.github.com/repos/sylvinite/TACA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sylvinite/TACA/labels{/name}","releases_url":"https://api.github.com/repos/sylvinite/TACA/releases{/id}","deployments_url":"https://api.github.com/repos/sylvinite/TACA/deployments","created_at":"2015-11-19T13:50:40Z","updated_at":"2016-01-12T13:09:29Z","pushed_at":"2016-11-07T15:54:38Z","git_url":"git://github.com/sylvinite/TACA.git","ssh_url":"git@github.com:sylvinite/TACA.git","clone_url":"https://github.com/sylvinite/TACA.git","svn_url":"https://github.com/sylvinite/TACA","homepage":"","size":1084,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"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":"master"}},"base":{"label":"SciLifeLab:master","ref":"master","sha":"12a064bb509d8ec596f3180ed3be7e57fcbb4a1c","user":{"login":"SciLifeLab","id":713611,"avatar_url":"https://avatars.githubusercontent.com/u/713611?v=3","gravatar_id":"","url":"https://api.github.com/users/SciLifeLab","html_url":"https://github.com/SciLifeLab","followers_url":"https://api.github.com/users/SciLifeLab/followers","following_url":"https://api.github.com/users/SciLifeLab/following{/other_user}","gists_url":"https://api.github.com/users/SciLifeLab/gists{/gist_id}","starred_url":"https://api.github.com/users/SciLifeLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SciLifeLab/subscriptions","organizations_url":"https://api.github.com/users/SciLifeLab/orgs","repos_url":"https://api.github.com/users/SciLifeLab/repos","events_url":"https://api.github.com/users/SciLifeLab/events{/privacy}","received_events_url":"https://api.github.com/users/SciLifeLab/received_events","type":"Organization","site_admin":false},"repo":{"id":25529822,"name":"TACA","full_name":"SciLifeLab/TACA","owner":{"login":"SciLifeLab","id":713611,"avatar_url":"https://avatars.githubusercontent.com/u/713611?v=3","gravatar_id":"","url":"https://api.github.com/users/SciLifeLab","html_url":"https://github.com/SciLifeLab","followers_url":"https://api.github.com/users/SciLifeLab/followers","following_url":"https://api.github.com/users/SciLifeLab/following{/other_user}","gists_url":"https://api.github.com/users/SciLifeLab/gists{/gist_id}","starred_url":"https://api.github.com/users/SciLifeLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SciLifeLab/subscriptions","organizations_url":"https://api.github.com/users/SciLifeLab/orgs","repos_url":"https://api.github.com/users/SciLifeLab/repos","events_url":"https://api.github.com/users/SciLifeLab/events{/privacy}","received_events_url":"https://api.github.com/users/SciLifeLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SciLifeLab/TACA","description":"Tool for the Automation of Cleanup and Analyses","fork":true,"url":"https://api.github.com/repos/SciLifeLab/TACA","forks_url":"https://api.github.com/repos/SciLifeLab/TACA/forks","keys_url":"https://api.github.com/repos/SciLifeLab/TACA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SciLifeLab/TACA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SciLifeLab/TACA/teams","hooks_url":"https://api.github.com/repos/SciLifeLab/TACA/hooks","issue_events_url":"https://api.github.com/repos/SciLifeLab/TACA/issues/events{/number}","events_url":"https://api.github.com/repos/SciLifeLab/TACA/events","assignees_url":"https://api.github.com/repos/SciLifeLab/TACA/assignees{/user}","branches_url":"https://api.github.com/repos/SciLifeLab/TACA/branches{/branch}","tags_url":"https://api.github.com/repos/SciLifeLab/TACA/tags","blobs_url":"https://api.github.com/repos/SciLifeLab/TACA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SciLifeLab/TACA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SciLifeLab/TACA/git/refs{/sha}","trees_url":"https://api.github.com/repos/SciLifeLab/TACA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SciLifeLab/TACA/statuses/{sha}","languages_url":"https://api.github.com/repos/SciLifeLab/TACA/languages","stargazers_url":"https://api.github.com/repos/SciLifeLab/TACA/stargazers","contributors_url":"https://api.github.com/repos/SciLifeLab/TACA/contributors","subscribers_url":"https://api.github.com/repos/SciLifeLab/TACA/subscribers","subscription_url":"https://api.github.com/repos/SciLifeLab/TACA/subscription","commits_url":"https://api.github.com/repos/SciLifeLab/TACA/commits{/sha}","git_commits_url":"https://api.github.com/repos/SciLifeLab/TACA/git/commits{/sha}","comments_url":"https://api.github.com/repos/SciLifeLab/TACA/comments{/number}","issue_comment_url":"https://api.github.com/repos/SciLifeLab/TACA/issues/comments{/number}","contents_url":"https://api.github.com/repos/SciLifeLab/TACA/contents/{+path}","compare_url":"https://api.github.com/repos/SciLifeLab/TACA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SciLifeLab/TACA/merges","archive_url":"https://api.github.com/repos/SciLifeLab/TACA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SciLifeLab/TACA/downloads","issues_url":"https://api.github.com/repos/SciLifeLab/TACA/issues{/number}","pulls_url":"https://api.github.com/repos/SciLifeLab/TACA/pulls{/number}","milestones_url":"https://api.github.com/repos/SciLifeLab/TACA/milestones{/number}","notifications_url":"https://api.github.com/repos/SciLifeLab/TACA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SciLifeLab/TACA/labels{/name}","releases_url":"https://api.github.com/repos/SciLifeLab/TACA/releases{/id}","deployments_url":"https://api.github.com/repos/SciLifeLab/TACA/deployments","created_at":"2014-10-21T15:23:34Z","updated_at":"2016-11-03T13:15:40Z","pushed_at":"2016-11-07T15:58:03Z","git_url":"git://github.com/SciLifeLab/TACA.git","ssh_url":"git@github.com:SciLifeLab/TACA.git","clone_url":"https://github.com/SciLifeLab/TACA.git","svn_url":"https://github.com/SciLifeLab/TACA","homepage":"","size":1137,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":13,"forks":8,"open_issues":13,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SciLifeLab/TACA/pulls/213"},"html":{"href":"https://github.com/SciLifeLab/TACA/pull/213"},"issue":{"href":"https://api.github.com/repos/SciLifeLab/TACA/issues/213"},"comments":{"href":"https://api.github.com/repos/SciLifeLab/TACA/issues/213/comments"},"review_comments":{"href":"https://api.github.com/repos/SciLifeLab/TACA/pulls/213/comments"},"review_comment":{"href":"https://api.github.com/repos/SciLifeLab/TACA/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SciLifeLab/TACA/pulls/213/commits"},"statuses":{"href":"https://api.github.com/repos/SciLifeLab/TACA/statuses/3fc76e39894565a6156f73d4800926e8dc9e1a10"}}}}
{"actor":{"display_login":"vezzi"}}