{"action":"opened","issue":{"url":"https://api.github.com/repos/BD2KGenomics/cgcloud/issues/99","repository_url":"https://api.github.com/repos/BD2KGenomics/cgcloud","labels_url":"https://api.github.com/repos/BD2KGenomics/cgcloud/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/BD2KGenomics/cgcloud/issues/99/comments","events_url":"https://api.github.com/repos/BD2KGenomics/cgcloud/issues/99/events","html_url":"https://github.com/BD2KGenomics/cgcloud/issues/99","id":132600824,"number":99,"title":"stop-cluster, terminate-cluster broken","user":{"login":"adderan","id":4521830,"avatar_url":"https://avatars.githubusercontent.com/u/4521830?v=3","gravatar_id":"","url":"https://api.github.com/users/adderan","html_url":"https://github.com/adderan","followers_url":"https://api.github.com/users/adderan/followers","following_url":"https://api.github.com/users/adderan/following{/other_user}","gists_url":"https://api.github.com/users/adderan/gists{/gist_id}","starred_url":"https://api.github.com/users/adderan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adderan/subscriptions","organizations_url":"https://api.github.com/users/adderan/orgs","repos_url":"https://api.github.com/users/adderan/repos","events_url":"https://api.github.com/users/adderan/events{/privacy}","received_events_url":"https://api.github.com/users/adderan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-10T03:54:18Z","updated_at":"2016-02-10T03:54:18Z","closed_at":null,"body":"```\r\nTraceback (most recent call last):\r\n  File \"/home/alden/cgcloud/env/bin/cgcloud\", line 9, in <module>\r\n    load_entry_point('cgcloud-core==1.4a1.dev0', 'console_scripts', 'cgcloud')()\r\n  File \"/home/alden/cgcloud/core/src/cgcloud/core/cli.py\", line 49, in main\r\n    app.run( args )\r\n  File \"/home/alden/cgcloud/lib/src/cgcloud/lib/util.py\", line 306, in run\r\n    command.run( options )\r\n  File \"/home/alden/cgcloud/core/src/cgcloud/core/commands.py\", line 81, in run\r\n    return self.run_in_ctx( options, ctx )\r\n  File \"/home/alden/cgcloud/core/src/cgcloud/core/cluster_commands.py\", line 45, in run_in_ctx\r\n    self.run_on_cluster_type( ctx, options, cluster_type )\r\n  File \"/home/alden/cgcloud/core/src/cgcloud/core/cluster_commands.py\", line 175, in run_on_cluster_type\r\n    self.run_on_cluster( options, ctx, cluster )\r\n  File \"/home/alden/cgcloud/core/src/cgcloud/core/cluster_commands.py\", line 296, in run_on_cluster\r\n    pool_size=min(options.num_threads),\r\nTypeError: 'int' object is not iterable\r\n```\r\n\r\nShould this be min(options.num_threads, options.num_workers)?"}}