{"action":"closed","issue":{"url":"https://api.github.com/repos/datirium/cwl-airflow-parser/issues/1","repository_url":"https://api.github.com/repos/datirium/cwl-airflow-parser","labels_url":"https://api.github.com/repos/datirium/cwl-airflow-parser/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/datirium/cwl-airflow-parser/issues/1/comments","events_url":"https://api.github.com/repos/datirium/cwl-airflow-parser/issues/1/events","html_url":"https://github.com/datirium/cwl-airflow-parser/issues/1","id":348014989,"node_id":"MDU6SXNzdWUzNDgwMTQ5ODk=","number":1,"title":"make_tool error ","user":{"login":"lrodri29","id":29578811,"node_id":"MDQ6VXNlcjI5NTc4ODEx","avatar_url":"https://avatars0.githubusercontent.com/u/29578811?v=4","gravatar_id":"","url":"https://api.github.com/users/lrodri29","html_url":"https://github.com/lrodri29","followers_url":"https://api.github.com/users/lrodri29/followers","following_url":"https://api.github.com/users/lrodri29/following{/other_user}","gists_url":"https://api.github.com/users/lrodri29/gists{/gist_id}","starred_url":"https://api.github.com/users/lrodri29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrodri29/subscriptions","organizations_url":"https://api.github.com/users/lrodri29/orgs","repos_url":"https://api.github.com/users/lrodri29/repos","events_url":"https://api.github.com/users/lrodri29/events{/privacy}","received_events_url":"https://api.github.com/users/lrodri29/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-06T17:28:50Z","updated_at":"2018-08-27T16:05:09Z","closed_at":"2018-08-27T16:05:09Z","author_association":"CONTRIBUTOR","body":"Hello. \r\n\r\nCurrently trying to run your code. For some reason when I run a test.py script, I obtain an error stating:\r\n\r\n> [2018-08-06 13:06:01,468] {configuration.py:206} WARNING - section/key [cwl/tmp_folder] not found in config\r\n> Traceback (most recent call last):\r\n>   File \"test.py\", line 22, in <module>\r\n>     cwl_workflow(\"./my/workflows/my.cwl\")\r\n>   File \"test.py\", line 16, in cwl_workflow\r\n>     dag.create()\r\n>   File \"/Users/rodrilm2/aplbrain/cwl-airflow-parser/cwl_airflow_parser/cwldag.py\", line 192, in create\r\n>     strict=self.default_args['strict'])\r\n>   File \"/Users/rodrilm2/aplbrain/cwl-airflow-parser/cwl_airflow_parser/cwlutils.py\", line 84, in load_tool\r\n>     makeTool, kwargs if kwargs else {})\r\n> TypeError: make_tool() takes 5 positional arguments but 6 were given\r\n\r\ntest.py\r\n```python\r\nfrom cwl_airflow_parser import CWLDAG, CWLJobDispatcher, CWLJobGatherer\r\nfrom datetime import timedelta\r\n\r\ndef cwl_workflow(workflow_file):\r\n    dag = CWLDAG(default_args={\r\n        'owner': 'Luis',\r\n        'email': ['lrodri729@gmail.com'],\r\n        'email_on_failure': False,\r\n        'email_on_retry': False,\r\n        'retries': 20,\r\n        'retry_exponential_backoff': True,\r\n        'retry_delay': timedelta(minutes=30),\r\n        'max_retry_delay': timedelta(minutes=60 * 4)\r\n    },\r\n        cwl_workflow=workflow_file)\r\n    dag.create()\r\n    dag.add(CWLJobDispatcher(dag=dag), to='top')\r\n    dag.add(CWLJobGatherer(dag=dag), to='bottom')\r\n\r\n    return dag\r\n \r\nprint(cwl_workflow(\"./my/workflows/my.cwl\"))\r\n```"}}
{"actor":{"display_login":"portah"}}