diff TrustStoreGalaxyBrowse.py @ 21:4819fbb59766

*tear*
author Wise, Catherine (Digital, Acton) <Catherine.Wise@csiro.au>
date Thu, 25 Jun 2015 13:18:03 +1000
parents 91bad9ac39c6
children fb915c3aefb2
line wrap: on
line diff
--- a/TrustStoreGalaxyBrowse.py	Thu Jun 25 13:11:57 2015 +1000
+++ b/TrustStoreGalaxyBrowse.py	Thu Jun 25 13:18:03 2015 +1000
@@ -198,7 +198,7 @@
                     data_type = "new_primary_dataset"
                     target_output_filename = os.path.normpath(os.path.join(extra_files_path, name))
                     download = truststore.getFile(store, location)
-                    primary = first
+                    primary = not first
                     if download is None:
                         print("File %s not found." % location.name)
                         sys.exit(4)