Question: Data managers tool generates path has extra slash
0
yliu41 • 50 wrote:
Hi there,
I am developing a data managers tool to install training data for GlimmerHMM. But now the tool generates file path has extra slash:
Data Manager: glimmer_hmm_trained_dir
value name path
human human tool-data/human//home/galaxy/galaxy/database/jobs_directory/000/230/dataset_263_files/human
The related section in data_manager_conf.xml as below (reference: https://galaxyproject.org/admin/tools/data-managers/how-to/define/):
<column name="path" output_ref="out_file">
<move type="directory">
<source>${path}</source>
<target base="${GALAXY_DATA_MANAGER_DATA_PATH}">${name}/${path}</target>
</move>
<value_translation>${GALAXY_DATA_MANAGER_DATA_PATH}/${name}/${path}</value_translation>
</column>
The extra slash is between ${name} and ${path}. How can I get around this?
Thank you in advance!
Best, Yating