From 927cfe685cefb62e1d4658a00f0876f9cf45dd9b Mon Sep 17 00:00:00 2001 From: Greg Von Kuster Date: Thu, 14 Jan 2010 09:44:58 -0500 Subject: [PATCH] =?UTF-8?q?Fixed=20my=20previous=20fix=20for=20copying=20h?= =?UTF-8?q?istory=20items=20to=20a=20library,=20which=20really=20didn't=20?= =?UTF-8?q?fix=20anything.=20=C2=AC=E2=80=A0Fixed=20the=20functional=20tes?= =?UTF-8?q?ts=20for=20lav=5Fto=5Fbed,=20split=5Fpaired=5Freads,=20and=20so?= =?UTF-8?q?lid2fastq=20by=20adding=20the=202nd=20output=20dataset=20to=20t?= =?UTF-8?q?he=20test=20for=20each=20tool.=20=C2=AC=E2=80=A0Renamed=20the?= =?UTF-8?q?=20test=20files=20for=20the=20tools=20to=20have=20the=20Galaxy?= =?UTF-8?q?=20supported=20file=20extension.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/galaxy/web/controllers/library_common.py | 2 +- templates/library/common/common.mako | 2 +- tools/filters/lav_to_bed.xml | 4 ++-- tools/metag_tools/split_paired_reads.xml | 5 +++-- tools/next_gen_conversion/solid2fastq.xml | 17 +++++++++-------- 5 files changed, 16 insertions(+), 14 deletions(-) diff --git a/lib/galaxy/web/controllers/library_common.py b/lib/galaxy/web/controllers/library_common.py index 1b23efec016..fd500070ec8 100644 --- a/lib/galaxy/web/controllers/library_common.py +++ b/lib/galaxy/web/controllers/library_common.py @@ -911,7 +911,7 @@ class LibraryCommon( BaseController ): dataset_names = [] created_ldda_ids = '' for hda_id in hda_ids: - hda = trans.sa_session.query( trans.app.model.HistoryDatasetAssociation ).get( hda_id ) + hda = trans.sa_session.query( trans.app.model.HistoryDatasetAssociation ).get( trans.security.decode_id( hda_id ) ) if hda: ldda = hda.to_library_dataset_dataset_association( target_folder=folder, replace_dataset=replace_dataset ) created_ldda_ids = '%s,%s' % ( created_ldda_ids, str( ldda.id ) ) diff --git a/templates/library/common/common.mako b/templates/library/common/common.mako index b165d4e9ec4..a80174d3e73 100644 --- a/templates/library/common/common.mako +++ b/templates/library/common/common.mako @@ -308,7 +308,7 @@ %endif %for hda in history.active_datasets:
- ${hda.hid}: ${hda.name} + ${hda.hid}: ${hda.name}
%endfor
diff --git a/tools/filters/lav_to_bed.xml b/tools/filters/lav_to_bed.xml index d58b1d72df7..3063024f6f8 100644 --- a/tools/filters/lav_to_bed.xml +++ b/tools/filters/lav_to_bed.xml @@ -9,10 +9,10 @@ - - + + diff --git a/tools/metag_tools/split_paired_reads.xml b/tools/metag_tools/split_paired_reads.xml index 3e89c3d06e5..6874ac19e52 100644 --- a/tools/metag_tools/split_paired_reads.xml +++ b/tools/metag_tools/split_paired_reads.xml @@ -12,8 +12,9 @@ - - + + + diff --git a/tools/next_gen_conversion/solid2fastq.xml b/tools/next_gen_conversion/solid2fastq.xml index 06928dba3ec..c6fc262f2ac 100644 --- a/tools/next_gen_conversion/solid2fastq.xml +++ b/tools/next_gen_conversion/solid2fastq.xml @@ -42,26 +42,27 @@ - - - + + + - - - - - + + + + + +