Jean-Baptiste Denis wrote:
> Hello everybody,
> i've got one galaxy server running. The ressource on the wiki are very
> useful for that purpose, thank you.
> I've got one question regarding data library when using "upload files
> from filesystem paths". There is a checkbox, unchecked by default, which
> prevent file upload into Galaxy. Is there a way to activate this
> checkbox by default, or to totally remove it on a per library basis ?
> I'm afraid of data libraries admin forgetting to check this box :D
This is certainly a concern. It's not possible to do this without some
hackery, but it's minor hackery. If you're certain you'll never want to
have that box unchecked, you can make the following change to
diff -r 88a118487292 templates/library/common/common.mako
--- a/templates/library/common/common.mako Thu Feb 24 19:07:41 2011 -0500
+++ b/templates/library/common/common.mako Fri Feb 25 10:16:51 2011 -0500
@@ -229,7 +229,7 @@
checked = ' checked'
checked = ''
- link_data_only_field = '<input type="checkbox"
name="link_data_only" value="No"%s/>No' % checked
+ link_data_only_field = '<input type="checkbox"
name="link_data_only" value="No" checked disabled/>No'
<label>Copy data into Galaxy?</label>
Alternatively, you could add 'checked' but not 'disabled' to make it the
default but still modifiable.
> To manage your subscriptions to this and other Galaxy lists, please use the
> interface at:
To manage your subscriptions to this and other Galaxy lists, please use the