{"action":"opened","issue":{"url":"https://api.github.com/repos/tisimst/pyDOE/issues/4","repository_url":"https://api.github.com/repos/tisimst/pyDOE","labels_url":"https://api.github.com/repos/tisimst/pyDOE/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/tisimst/pyDOE/issues/4/comments","events_url":"https://api.github.com/repos/tisimst/pyDOE/issues/4/events","html_url":"https://github.com/tisimst/pyDOE/issues/4","id":157682291,"number":4,"title":"\"correlate\"/\"correlation\" confusion in doe_lhs.py","user":{"login":"Arnoques","id":1845086,"avatar_url":"https://avatars.githubusercontent.com/u/1845086?v=3","gravatar_id":"","url":"https://api.github.com/users/Arnoques","html_url":"https://github.com/Arnoques","followers_url":"https://api.github.com/users/Arnoques/followers","following_url":"https://api.github.com/users/Arnoques/following{/other_user}","gists_url":"https://api.github.com/users/Arnoques/gists{/gist_id}","starred_url":"https://api.github.com/users/Arnoques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arnoques/subscriptions","organizations_url":"https://api.github.com/users/Arnoques/orgs","repos_url":"https://api.github.com/users/Arnoques/repos","events_url":"https://api.github.com/users/Arnoques/events{/privacy}","received_events_url":"https://api.github.com/users/Arnoques/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-31T14:14:45Z","updated_at":"2016-05-31T14:14:45Z","closed_at":null,"body":"Just a heads-up:\r\n\r\nThere's a mixup with the name for the correlation criterion for the Latin Hypercube. In `doe_lhs.py`, the documentation says `\"correlation\"` but the example says `'correlate'`. The check in the code uses `'correlation'`, but later the if that actually selects the used function uses `'correlate'`.\r\n\r\n```\r\n36:        \"centermaximin\" or \"cm\", and \"correlation\" or \"corr\". If no value \r\n88:        >>> lhs(4, samples=5, criterion='correlate', iterations=10)\r\n98:            'centermaximin', 'cm', 'correlation', \r\n116:        elif criterion.lower() in ('correlate', 'corr'):\r\n```\r\n\r\nThanks!"}}
{"actor":{"display_login":"Arnoques"}}