commit/galaxy-central: kanwei: trackster: use simple hash to calculate unique ID for tabix
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/85d76cb4761f/ changeset: r5436:85d76cb4761f user: kanwei date: 2011-04-19 20:45:55 summary: trackster: use simple hash to calculate unique ID for tabix affected #: 1 file (25 bytes) --- a/lib/galaxy/visualization/tracks/data_providers.py Tue Apr 19 14:20:11 2011 -0400 +++ b/lib/galaxy/visualization/tracks/data_providers.py Tue Apr 19 14:45:55 2011 -0400 @@ -620,7 +620,8 @@ # BED dataset. feature = line.split() length = len(feature) - payload = [ feature[1]+"-"+feature[2]+":"+str(count), int(feature[1]), int(feature[2]) ] + # Unique id is just a hash of the line + payload = [ hash(line), int(feature[1]), int(feature[2]) ] if no_detail: results.append( payload ) 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)
-
Bitbucket