details: http://www.bx.psu.edu/hg/galaxy/rev/69e70e588a8e changeset: 3769:69e70e588a8e user: fubar/ross period lazarus at gmail d0t com date: Tue May 11 13:25:39 2010 -0400 description: Hack to fix the ghost broken dataset problem after uploading a composite file Delete any precreated datasets leftover.. diffstat: lib/galaxy/tools/actions/upload_common.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diffs (14 lines): diff -r 8470f5588775 -r 69e70e588a8e lib/galaxy/tools/actions/upload_common.py --- a/lib/galaxy/tools/actions/upload_common.py Tue May 11 11:51:49 2010 -0400 +++ b/lib/galaxy/tools/actions/upload_common.py Tue May 11 13:25:39 2010 -0400 @@ -102,7 +102,9 @@ for data in precreated_datasets: log.info( 'Cleaned up unclaimed precreated dataset (%s).' % ( data.id ) ) data.state = data.states.ERROR - data.info = 'No file contents were available.' + data.info = 'Unused precreated dataset to be deleted.' + data.deleted = True + def new_history_upload( trans, uploaded_dataset, state=None ): hda = trans.app.model.HistoryDatasetAssociation( name = uploaded_dataset.name, extension = uploaded_dataset.file_type,