mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Turn of sanitizer for in __SET_METADATA__ autodetect metadata tool. Fixes issue that appears as a result of PR #474, but also could occur under corner-cases with interestlying named temp filenames. Also, add quotes around configfile filename.
This commit is contained in:
@@ -645,11 +645,13 @@ class Registry( object ):
|
||||
<requirement type="package">samtools</requirement>
|
||||
</requirements>
|
||||
<action module="galaxy.tools.actions.metadata" class="SetMetadataToolAction"/>
|
||||
<command>python $set_metadata $__SET_EXTERNAL_METADATA_COMMAND_LINE__</command>
|
||||
<command>python "${set_metadata}" ${__SET_EXTERNAL_METADATA_COMMAND_LINE__}</command>
|
||||
<inputs>
|
||||
<param format="data" name="input1" type="data" label="File to set metadata on."/>
|
||||
<param name="__ORIGINAL_DATASET_STATE__" type="hidden" value=""/>
|
||||
<param name="__SET_EXTERNAL_METADATA_COMMAND_LINE__" type="hidden" value=""/>
|
||||
<param name="__SET_EXTERNAL_METADATA_COMMAND_LINE__" type="hidden" value="">
|
||||
<sanitizer sanitize="False"/>
|
||||
</param>
|
||||
</inputs>
|
||||
<configfiles>
|
||||
<configfile name="set_metadata">from galaxy_ext.metadata.set_metadata import set_metadata; set_metadata()</configfile>
|
||||
|
||||
Reference in New Issue
Block a user