commit/galaxy-central: jgoecks: Visualization framework bug fixes + remove debugging statement.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/1b1748573103/ Changeset: 1b1748573103 User: jgoecks Date: 2014-07-15 21:41:38 Summary: Visualization framework bug fixes + remove debugging statement. Affected #: 3 files diff -r 7628e1d9d8e2900cda5fb90ff239a32c0e091df9 -r 1b1748573103faca069962324a96ded3c801bc7a lib/galaxy/visualization/data_providers/cigar.py --- a/lib/galaxy/visualization/data_providers/cigar.py +++ b/lib/galaxy/visualization/data_providers/cigar.py @@ -18,7 +18,7 @@ return read_seq, cigar # Set up position for reference, read. - ref_seq_pos = read_start + ref_seq_pos = read_start - ref_seq_start read_pos = 0 # Create new read sequence, cigar. diff -r 7628e1d9d8e2900cda5fb90ff239a32c0e091df9 -r 1b1748573103faca069962324a96ded3c801bc7a lib/galaxy/webapps/galaxy/api/datasets.py --- a/lib/galaxy/webapps/galaxy/api/datasets.py +++ b/lib/galaxy/webapps/galaxy/api/datasets.py @@ -203,7 +203,8 @@ # get longer, this will need to be increased and/or a handle to the genomic data may be need # to be given to the data provider. region = self.app.genomes.reference( trans, dbkey=dataset.dbkey, chrom=chrom, - low=( int( low ) - 500 ), high=( int( high ) + 500 ) ) + low=( max( 0, int( low ) - 500 ) ), + high=( int( high ) + 500 ) ) # Get mean depth. if not indexer: @@ -211,7 +212,6 @@ stats = indexer.get_data( chrom, low, high, stats=True ) mean_depth = stats[ 'data' ][ 'mean' ] - # Get and return data from data_provider. result = data_provider.get_data( chrom, int( low ), int( high ), int( start_val ), int( max_vals ), ref_seq=region, mean_depth=mean_depth, **kwargs ) diff -r 7628e1d9d8e2900cda5fb90ff239a32c0e091df9 -r 1b1748573103faca069962324a96ded3c801bc7a static/scripts/viz/trackster/tracks.js --- a/static/scripts/viz/trackster/tracks.js +++ b/static/scripts/viz/trackster/tracks.js @@ -1385,7 +1385,6 @@ // captures most (all?) state change that needs to be saved. var self = this; drawable.config.on('change', function() { - console.log(drawable.config.get_value('name') + " changed"); self.changed(); }); }, 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