{"action":"opened","issue":{"url":"https://api.github.com/repos/bigartm/bigartm/issues/140","labels_url":"https://api.github.com/repos/bigartm/bigartm/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/bigartm/bigartm/issues/140/comments","events_url":"https://api.github.com/repos/bigartm/bigartm/issues/140/events","html_url":"https://github.com/bigartm/bigartm/issues/140","id":59868745,"number":140,"title":"cpp_client should clean temporary folder with batches after run","user":{"login":"sashafrey","id":1252606,"avatar_url":"https://avatars.githubusercontent.com/u/1252606?v=3","gravatar_id":"","url":"https://api.github.com/users/sashafrey","html_url":"https://github.com/sashafrey","followers_url":"https://api.github.com/users/sashafrey/followers","following_url":"https://api.github.com/users/sashafrey/following{/other_user}","gists_url":"https://api.github.com/users/sashafrey/gists{/gist_id}","starred_url":"https://api.github.com/users/sashafrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sashafrey/subscriptions","organizations_url":"https://api.github.com/users/sashafrey/orgs","repos_url":"https://api.github.com/users/sashafrey/repos","events_url":"https://api.github.com/users/sashafrey/events{/privacy}","received_events_url":"https://api.github.com/users/sashafrey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-04T21:57:09Z","updated_at":"2015-03-04T21:57:09Z","closed_at":null,"body":"Currently cpp_client will fail on a second attempt to run:\r\n\r\ncpp_client.exe -v ../python/docword.kos.txt -d ../python/vocab.kos.txt\r\n(works)\r\ncpp_client.exe -v ../python/docword.kos.txt -d ../python/vocab.kos.txt\r\nThe directory is not empty: batches\r\n\r\nIt may confuse BigARTM users.\r\n\r\nA better behavior is to\r\n1) without --batches flag to output batches into a temporary folder, and clean it after run\r\n2) with --batches flag reuse batches from the specified folder (or parse collection if -d and -v are provided). In this case folder must not be cleaned after running cpp_client!"}}