{"action":"created","issue":{"url":"https://api.github.com/repos/mothur/mothur/issues/97","labels_url":"https://api.github.com/repos/mothur/mothur/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/mothur/mothur/issues/97/comments","events_url":"https://api.github.com/repos/mothur/mothur/issues/97/events","html_url":"https://github.com/mothur/mothur/issues/97","id":83983801,"number":97,"title":"set.seed / set.dir(seed=)","user":{"login":"pschloss","id":1264132,"avatar_url":"https://avatars.githubusercontent.com/u/1264132?v=3","gravatar_id":"","url":"https://api.github.com/users/pschloss","html_url":"https://github.com/pschloss","followers_url":"https://api.github.com/users/pschloss/followers","following_url":"https://api.github.com/users/pschloss/following{/other_user}","gists_url":"https://api.github.com/users/pschloss/gists{/gist_id}","starred_url":"https://api.github.com/users/pschloss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pschloss/subscriptions","organizations_url":"https://api.github.com/users/pschloss/orgs","repos_url":"https://api.github.com/users/pschloss/repos","events_url":"https://api.github.com/users/pschloss/events{/privacy}","received_events_url":"https://api.github.com/users/pschloss/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mothur/mothur/labels/Enhancement","name":"Enhancement","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mothur/mothur/milestones/3","html_url":"https://github.com/mothur/mothur/milestones/Version%201.36.0","labels_url":"https://api.github.com/repos/mothur/mothur/milestones/3/labels","id":951806,"number":3,"title":"Version 1.36.0","description":null,"creator":{"login":"pschloss","id":1264132,"avatar_url":"https://avatars.githubusercontent.com/u/1264132?v=3","gravatar_id":"","url":"https://api.github.com/users/pschloss","html_url":"https://github.com/pschloss","followers_url":"https://api.github.com/users/pschloss/followers","following_url":"https://api.github.com/users/pschloss/following{/other_user}","gists_url":"https://api.github.com/users/pschloss/gists{/gist_id}","starred_url":"https://api.github.com/users/pschloss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pschloss/subscriptions","organizations_url":"https://api.github.com/users/pschloss/orgs","repos_url":"https://api.github.com/users/pschloss/repos","events_url":"https://api.github.com/users/pschloss/events{/privacy}","received_events_url":"https://api.github.com/users/pschloss/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":15,"state":"open","created_at":"2015-01-26T18:10:57Z","updated_at":"2015-06-02T13:18:04Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-06-02T11:40:56Z","updated_at":"2015-06-02T13:51:19Z","closed_at":"2015-06-02T12:57:10Z","body":"Allow any long unsigned int as the seed. currently it only takes a number between 1 and 100"},"comment":{"url":"https://api.github.com/repos/mothur/mothur/issues/comments/107961352","html_url":"https://github.com/mothur/mothur/issues/97#issuecomment-107961352","issue_url":"https://api.github.com/repos/mothur/mothur/issues/97","id":107961352,"user":{"login":"mothur-westcott","id":1379958,"avatar_url":"https://avatars.githubusercontent.com/u/1379958?v=3","gravatar_id":"","url":"https://api.github.com/users/mothur-westcott","html_url":"https://github.com/mothur-westcott","followers_url":"https://api.github.com/users/mothur-westcott/followers","following_url":"https://api.github.com/users/mothur-westcott/following{/other_user}","gists_url":"https://api.github.com/users/mothur-westcott/gists{/gist_id}","starred_url":"https://api.github.com/users/mothur-westcott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mothur-westcott/subscriptions","organizations_url":"https://api.github.com/users/mothur-westcott/orgs","repos_url":"https://api.github.com/users/mothur-westcott/repos","events_url":"https://api.github.com/users/mothur-westcott/events{/privacy}","received_events_url":"https://api.github.com/users/mothur-westcott/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T13:51:19Z","updated_at":"2015-06-02T13:51:19Z","body":"This is the code.\r\n\r\nsrand(time(NULL));\r\n        m->mothurOut(\"\\nRandom number(1-100) with mothur's default of current time: \" + toString(rand()%100 + 1) + \".\\n\");\r\n        srand(random);\r\n        m->mothurOut(\"Random number(1-100) seeded with \" + toString(random) + \": \" + toString(rand()%100 + 1) + \".\\n\\n\");\r\n\r\nIt seeds random with the users input.  Then generates a random number between 1 and 100 based on that seed."}}