comparison util.py @ 18:5e1b7d922ea3 draft default tip

planemo upload for repository https://github.com/Alveo/alveo-galaxy-tools commit 53cde5cc9b8c1adcccdc3cfa52d8ca82079aeda7
author stevecassidy
date Mon, 15 Jan 2018 18:34:57 -0500
parents a38315ecf593
children
comparison
equal deleted inserted replaced
17:b69f6d41d17c 18:5e1b7d922ea3
23 23
24 :raises: pyalveo.APIError if the API request is not successful 24 :raises: pyalveo.APIError if the API request is not successful
25 25
26 """ 26 """
27 # validate the client key, raises an exception if it is not valid 27 # validate the client key, raises an exception if it is not valid
28 client_module.Client(api_key, API_URL, use_cache=False) 28 client_module.Client(api_key=api_key, api_url=API_URL, use_cache=False)
29 outfile = open(output_path, 'w') 29 outfile = open(output_path, 'w')
30 outfile.write(api_key) 30 outfile.write(api_key)
31 outfile.close() 31 outfile.close()
32 32
33 33
51 itemurls.append(row['ItemURL']) 51 itemurls.append(row['ItemURL'])
52 52
53 itemlist = pyalveo.ItemGroup(itemurls, client) 53 itemlist = pyalveo.ItemGroup(itemurls, client)
54 54
55 return itemlist 55 return itemlist
56