1 new changeset in galaxy-central:
http://bitbucket.org/galaxy/galaxy-central/changeset/1447e4ebe7c8/
changeset: 1447e4ebe7c8
user: jgoecks
date: 2011-08-23 23:27:58
summary: Trackster: remove throttling during dynamic filtering because it's not needed with requestAnimationFrame.
affected #: 1 file (645 bytes)
--- a/static/scripts/trackster.js Tue Aug 23 17:21:37 2011 -0400
+++ b/static/scripts/trackster.js Tue Aug 23 17:27:58 2011 -0400
@@ -1419,25 +1419,14 @@
max: -Number.MIN_VALUE,
values: [0, 0],
slide: function(event, ui) {
- //
- // Always update UI values, but set timeout for doing more--especially drawing--
- // so that viz is more responsive.
- // TODO: remove this because it's no longer necessary as we have requestAnimationFrame().
- //
- prev_values = ui.values;
- values_span.text(ui.values[0] + "-" + ui.values[1]);
- setTimeout(function() {
- if (ui.values[0] == prev_values[0] && ui.values[1] == prev_values[1]) {
- var values = ui.values;
- // Set new values in UI.
- values_span.text(values[0] + "-" + values[1]);
- // Set new values in filter.
- filter.low = values[0];
- filter.high = values[1];
- // Redraw track.
- manager.track.draw(true, true);
- }
- }, 50);
+ var values = ui.values;
+ // Set new values in UI.
+ values_span.text(values[0] + "-" + values[1]);
+ // Set new values in filter.
+ filter.low = values[0];
+ filter.high = values[1];
+ // Redraw track.
+ manager.track.draw(true, true);
},
change: function(event, ui) {
filter.control_element.slider("option", "slide").call(filter.control_element, event, ui);
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.
1 new changeset in galaxy-central:
http://bitbucket.org/galaxy/galaxy-central/changeset/126c7f11415b/
changeset: 126c7f11415b
user: natefoo
date: 2011-08-22 22:19:49
summary: Decrease user disk usage when files are removed from disk by the cleanup_datasets.py.
affected #: 1 file (473 bytes)
--- a/scripts/cleanup_datasets/cleanup_datasets.py Mon Aug 22 16:07:23 2011 -0400
+++ b/scripts/cleanup_datasets/cleanup_datasets.py Mon Aug 22 16:19:49 2011 -0400
@@ -453,6 +453,13 @@
# Remove associated extra files from disk if they exist
if dataset.extra_files_path and os.path.exists( dataset.extra_files_path ):
shutil.rmtree( dataset.extra_files_path ) #we need to delete the directory and its contents; os.unlink would always fail on a directory
+ usage_users = []
+ for hda in dataset.history_associations:
+ if not hda.purged and hda.history.user is not None and hda.history.user not in usage_users:
+ usage_users.append( hda.history.user )
+ for user in usage_users:
+ user.total_disk_usage -= dataset.total_size
+ app.sa_session.add( user )
print "Purging dataset id", dataset.id
dataset.purged = True
app.sa_session.add( dataset )
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.
1 new changeset in galaxy-central:
http://bitbucket.org/galaxy/galaxy-central/changeset/a82d009cb8ee/
changeset: a82d009cb8ee
user: dan
date: 2011-08-22 20:58:51
summary: Add FIMO to tool_conf.xml.sample.
affected #: 1 file (33 bytes)
--- a/tool_conf.xml.sample Mon Aug 22 14:52:11 2011 -0400
+++ b/tool_conf.xml.sample Mon Aug 22 14:58:51 2011 -0400
@@ -208,6 +208,7 @@
</section><section name="Motif Tools" id="motifs"><tool file="meme/meme.xml"/>
+ <tool file="meme/fimo.xml"/><tool file="rgenetics/rgWebLogo3.xml" /></section><section name="Multiple Alignments" id="clustal">
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.
1 new changeset in galaxy-central:
http://bitbucket.org/galaxy/galaxy-central/changeset/94688ff06248/
changeset: 94688ff06248
user: natefoo
date: 2011-08-22 20:47:10
summary: Fix FTP upload when uploading only a single file and its name contains a comma. util.listify assumes that a string with commas should be split into a list, so don't use listify for this value. Thanks Ilya Chorny.
affected #: 1 file (84 bytes)
--- a/lib/galaxy/tools/parameters/basic.py Mon Aug 22 14:03:57 2011 -0400
+++ b/lib/galaxy/tools/parameters/basic.py Mon Aug 22 14:47:10 2011 -0400
@@ -454,7 +454,11 @@
user_ftp_dir = os.path.join( trans.app.config.ftp_upload_dir, trans.user.email )
return form_builder.FTPFileField( self.name, user_ftp_dir, trans.app.config.ftp_upload_site, value = value )
def from_html( self, value, trans=None, other_values={} ):
- return util.listify( value )
+ try:
+ assert type( value ) is list
+ except:
+ value = [ value ]
+ return value
def to_string( self, value, app ):
if value in [ None, '' ]:
return None
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.