1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/bdb5318e6d30/ changeset: bdb5318e6d30 user: jgoecks date: 2012-05-21 18:42:53 summary: Trackster: better comments and help text. affected #: 2 files diff -r 5096491eaff782116eed1640e350ab9fe1444460 -r bdb5318e6d30cf78e7ab40205779909af22c45b6 lib/galaxy/visualization/tracks/summary.py --- a/lib/galaxy/visualization/tracks/summary.py +++ b/lib/galaxy/visualization/tracks/summary.py @@ -21,9 +21,11 @@ self.chrom_stats = {} def find_block( self, num, level ): + """ Returns block that num is in for level. """ return ( num / self.block_size ** level ) def insert_range( self, chrom, start, end ): + """ Inserts a feature at chrom:start-end into the tree. """ if chrom in self.chrom_blocks: blocks = self.chrom_blocks[ chrom ] else: @@ -44,7 +46,7 @@ block_level[ block ] = 1 def finish( self ): - ''' Checks for cutoff and only stores levels above it ''' + """ Checks for cutoff and only stores levels above it """ for chrom, blocks in self.chrom_blocks.iteritems(): cur_best = 999 for level in range( self.levels, MIN_LEVEL-1, -1 ): @@ -65,6 +67,7 @@ self.chrom_blocks[ chrom ] = dict( [ ( key, value ) for key, value in blocks.iteritems() if key >= cur_best ] ) def query( self, chrom, start, end, level ): + """ Queries tree for data. """ if chrom in self.chrom_blocks: stats = self.chrom_stats[ chrom ] if "detail_level" in stats and level <= stats[ "detail_level" ]: @@ -84,6 +87,7 @@ return None def write( self, filename ): + """ Writes tree to file. """ self.finish() cPickle.dump( self, open( filename, 'wb' ), 2 ) diff -r 5096491eaff782116eed1640e350ab9fe1444460 -r bdb5318e6d30cf78e7ab40205779909af22c45b6 static/scripts/trackster.js --- a/static/scripts/trackster.js +++ b/static/scripts/trackster.js @@ -415,8 +415,8 @@ DATA_ERROR = "There was an error in indexing this dataset. ", DATA_NOCONVERTER = "A converter for this dataset is not installed. Please check your datatypes_conf.xml file.", DATA_NONE = "No data for this chrom/contig.", - DATA_PENDING = "Preparing data. This is very fast for a small dataset but can take a long time for a large dataset. \ - If visualization is saved and closed, preparation will continue in the background.", + DATA_PENDING = "Preparing data. This can take a while for a large dataset. \ + If the visualization is saved and closed, preparation will continue in the background.", DATA_CANNOT_RUN_TOOL = "Tool cannot be rerun: ", DATA_LOADING = "Loading data...", DATA_OK = "Ready for display", 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.