changeset 15:8b88de25dd2c

More.
author Wise, Catherine (Digital, Acton) <Catherine.Wise@csiro.au>
date Thu, 25 Jun 2015 09:54:07 +1000
parents c7287129f37f
children bc3e29a97709
files TrustStoreGalaxyBrowse.py
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/TrustStoreGalaxyBrowse.py	Thu Jun 25 09:16:21 2015 +1000
+++ b/TrustStoreGalaxyBrowse.py	Thu Jun 25 09:54:07 2015 +1000
@@ -187,12 +187,12 @@
                     name = construct_multi_filename(hda_id, filename, extension)
                     target_output_filename = None
                     data_type = "new_primary_dataset"
-                    if first:
-                        target_output_filename = file_name
-                        dataset = "new_primary_dataset"
-                        first = False
-                    else:
-                        target_output_filename = os.path.normpath(os.path.join(extra_files_path, name))
+                    # if first:
+                    #     target_output_filename = file_name
+                    #     dataset = "new_primary_dataset"
+                    #     first = False
+                    # else:
+                    target_output_filename = os.path.normpath(os.path.join(extra_files_path, name))
                     download = truststore.getFile(store, location)
                     if download is None:
                         print("File %s not found." % location.name)