# HG changeset patch -- Bitbucket.org # Project galaxy-dist # URL http://bitbucket.org/galaxy/galaxy-dist/overview # User Dan Blankenberg <dan@bx.psu.edu> # Date 1287756910 14400 # Node ID 78d2a72ee1d61099fc5958af953fb5976c544de6 # Parent 53d1fa98fa0573f84bbbd8c8264d15bfff0cb90f Add name/designation to hda name for new datasets created in collect_primary_datasets. --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -1741,7 +1741,7 @@ class Tool: # Move data from temp location to dataset location shutil.move( filename, primary_data.file_name ) primary_data.set_size() - primary_data.name = outdata.name + primary_data.name = "%s (%s)" % ( outdata.name, designation ) primary_data.info = outdata.info primary_data.init_meta( copy_from=outdata ) primary_data.dbkey = dbkey