commit/galaxy-central: dannon: Fix error in datasets API/serializer
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/42ca1929bcb2/ Changeset: 42ca1929bcb2 User: dannon Date: 2015-01-22 21:29:45+00:00 Summary: Fix error in datasets API/serializer Affected #: 1 file diff -r aa8754d33a0487fd4525e1a22cffd48e3caf436e -r 42ca1929bcb2f6717dc299e656d1101f06569bda lib/galaxy/webapps/galaxy/api/datasets.py --- a/lib/galaxy/webapps/galaxy/api/datasets.py +++ b/lib/galaxy/webapps/galaxy/api/datasets.py @@ -66,7 +66,7 @@ else: # Default: return dataset as dict. if hda_ldda == 'hda': - return self.hda_serializer.serialize_to_view( trans, hda, view=kwd.get( 'view', 'detailed' ) ) + return self.hda_serializer.serialize_to_view( trans, dataset, view=kwd.get( 'view', 'detailed' ) ) else: rval = dataset.to_dict() @@ -210,8 +210,8 @@ # FIXME: increase region 1M each way to provide sequence for # spliced/gapped reads. Probably should provide refseq object # directly to data provider. - region = self.app.genomes.reference( trans, dbkey=dataset.dbkey, chrom=chrom, - low=( max( 0, int( low ) - 1000000 ) ), + region = self.app.genomes.reference( trans, dbkey=dataset.dbkey, chrom=chrom, + low=( max( 0, int( low ) - 1000000 ) ), high=( int( high ) + 1000000 ) ) # Get mean depth. Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org