comparison TrustStoreGalaxyBrowse.py @ 35:d25b82c3276f

Print a little less :) mostly working now!!!
author Catherine Wise <catherine.wise@csiro.au>
date Tue, 19 May 2015 08:58:58 +1000
parents c404b570013b
children eb08580b547a
comparison
equal deleted inserted replaced
34:05ce187da48a 35:d25b82c3276f
168 locations = utils.Navigation.files_at_path(root, path) 168 locations = utils.Navigation.files_at_path(root, path)
169 if not locations or locations == []: 169 if not locations or locations == []:
170 print("Path not found: " + path) 170 print("Path not found: " + path)
171 print("In root: " + str(root)) 171 print("In root: " + str(root))
172 else: 172 else:
173 print("Downloading file..." + str(locations)) 173 print("Downloading file..." + ", ".join([loc.name for loc in locations]))
174 for location in locations: 174 for location in locations:
175 filename = "".join(c in SAFE_CHARS and c or '-' for c in location.name) 175 filename = "".join(c in SAFE_CHARS and c or '-' for c in location.name)
176 extension = os.path.splitext(filename)[1] 176 extension = os.path.splitext(filename)[1]
177 name = construct_multi_filename(hda_id, filename, extension) 177 name = construct_multi_filename(hda_id, filename, extension)
178 target_output_filename = None 178 target_output_filename = None